xref: /freebsd/bin/sh/tests/builtins/trap14.0 (revision 6ba2210ee039f2f12878c217bcf058e9c8b26b29)
1# $FreeBSD$
2
3{
4	trap - INT
5	${SH} -c 'kill -INT $PPID' &
6	wait
7} &
8wait $!
9r=$?
10[ "$r" -gt 128 ] && [ "$(kill -l "$r")" = INT ]
11