xref: /freebsd/bin/sh/tests/expansion/cmdsubst21.0 (revision 734e82fe33aa764367791a7d603b383996c6b40b)
1
2set -T
3trapped=''
4trap "trapped=x$trapped" TERM
5[ "x$($SH -c "kill $$")y" = xy ] && [ "$trapped" = x ]
6