summary refs log tree commit diff
path: root/bin/cash/tests/expansion/cmdsubst20.0
blob: 08aff1089096d018055c9b321a43a6550ceca672 (plain) (blame)
1
2
3
4
5
6
# $FreeBSD: releng/12.0/bin/sh/tests/expansion/cmdsubst20.0 314637 2017-03-03 22:46:20Z jilles $

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