diff options
Diffstat (limited to 'bin/cash/tests/builtins/trap13.0')
-rw-r--r-- | bin/cash/tests/builtins/trap13.0 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/cash/tests/builtins/trap13.0 b/bin/cash/tests/builtins/trap13.0 new file mode 100644 index 00000000..38678bf7 --- /dev/null +++ b/bin/cash/tests/builtins/trap13.0 @@ -0,0 +1,8 @@ +# $FreeBSD: releng/12.0/bin/sh/tests/builtins/trap13.0 257399 2013-10-30 21:36:15Z jilles $ + +{ + trap 'exit 0' INT + ${SH} -c 'kill -INT $PPID' + exit 3 +} & +wait $! |