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