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