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