Author: jilles Date: Sat Feb 23 15:15:41 2013 New Revision: 247190 URL: http://svnweb.freebsd.org/changeset/base/247190
Log: sh: Test that the exit status is 1 if read encounters EOF. Added: head/tools/regression/bin/sh/builtins/read6.0 (contents, props changed) Added: head/tools/regression/bin/sh/builtins/read6.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/regression/bin/sh/builtins/read6.0 Sat Feb 23 15:15:41 2013 (r247190) @@ -0,0 +1,5 @@ +# $FreeBSD$ + +: | read x +r=$? +[ "$r" = 1 ] _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"