Author: jilles Date: Mon Dec 27 23:56:03 2010 New Revision: 216747 URL: http://svn.freebsd.org/changeset/base/216747
Log: sh: Add a testcase for cmdsubst errors that already works properly. If a command substitution consists of one special builtin and there is a redirection error, this should not abort the outer shell. It was fixed in r201366 by ignoring special builtin properties for command substitutions consisting of one builtin. Added: head/tools/regression/bin/sh/expansion/cmdsubst4.0 (contents, props changed) Added: head/tools/regression/bin/sh/expansion/cmdsubst4.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/regression/bin/sh/expansion/cmdsubst4.0 Mon Dec 27 23:56:03 2010 (r216747) @@ -0,0 +1,4 @@ +# $FreeBSD$ + +exec 2>/dev/null +! y=$(: </var/empty/nonexistent) _______________________________________________ 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"