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