summary refs log tree commit diff
path: root/bin/cash/tests/expansion/cmdsubst21.0
blob: d34f9352a81946159756572312f6c1f61213a759 (plain) (blame)
1
2
3
4
5
6
# $FreeBSD: releng/12.0/bin/sh/tests/expansion/cmdsubst21.0 314686 2017-03-04 22:58:34Z jilles $

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