aboutsummaryrefslogblamecommitdiff
path: root/bin/sh/tests/expansion/cmdsubst20.0
blob: 33932487b89ff8860f21c8805aaf40a9e505d017 (plain) (tree)
1
2
3
4
5
6





                                                   
# $FreeBSD$

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