xref: /freebsd/bin/sh/tests/builtins/trap14.0 (revision 6be3386466ab79a84b48429ae66244f21526d3df)
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