Date: Thu, 27 Jan 2011 23:08:20 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r217996 - head/tools/regression/bin/sh/builtins Message-ID: <201101272308.p0RN8Krm042574@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101272308.p0RN8Krm042574>