]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - bin/sh/tests/builtins/trap14.0
Sync sh(1) in stable/10 to head.
[FreeBSD/stable/10.git] / bin / sh / tests / builtins / trap14.0
1 # $FreeBSD$
2
3 {
4         trap - INT
5         ${SH} -c 'kill -INT $PPID' &
6         wait
7 } &
8 wait $!
9 r=$?
10 [ "$r" -gt 128 ] && [ "$(kill -l "$r")" = INT ]