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