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