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