Author: jilles Date: Thu Jan 27 23:08:20 2011 New Revision: 217996 URL: http://svn.freebsd.org/changeset/base/217996
Log: sh: Add test for EXIT trap in command substitution. This is not really realistic but is an opposition to $(trap). Added: head/tools/regression/bin/sh/builtins/trap7.0 (contents, props changed) Added: head/tools/regression/bin/sh/builtins/trap7.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/regression/bin/sh/builtins/trap7.0 Thu Jan 27 23:08:20 2011 (r217996) @@ -0,0 +1,3 @@ +# $FreeBSD$ + +[ "$(trap 'echo trapped' EXIT)" = trapped ] _______________________________________________ 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"