diff options
Diffstat (limited to 'shell_cmds/sh/tests/expansion/cmdsubst22.0')
-rw-r--r-- | shell_cmds/sh/tests/expansion/cmdsubst22.0 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell_cmds/sh/tests/expansion/cmdsubst22.0 b/shell_cmds/sh/tests/expansion/cmdsubst22.0 new file mode 100644 index 0000000..b33f6d5 --- /dev/null +++ b/shell_cmds/sh/tests/expansion/cmdsubst22.0 @@ -0,0 +1,6 @@ +# $FreeBSD: head/bin/sh/tests/expansion/cmdsubst22.0 314686 2017-03-04 22:58:34Z jilles $ + +set -T +trapped='' +trap "trapped=x$trapped" TERM +[ "x$(:; kill $$)y" = xy ] && [ "$trapped" = x ] |