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