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

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