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