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