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