# $FreeBSD$

set -T
trapped=''
trap "trapped=x$trapped" TERM
[ "x$($SH -c "kill $$")y" = xy ] && [ "$trapped" = x ]