diff options
Diffstat (limited to 'shell_cmds/sh/tests/builtins/trap13.0')
-rw-r--r-- | shell_cmds/sh/tests/builtins/trap13.0 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/shell_cmds/sh/tests/builtins/trap13.0 b/shell_cmds/sh/tests/builtins/trap13.0 new file mode 100644 index 0000000..1069b8f --- /dev/null +++ b/shell_cmds/sh/tests/builtins/trap13.0 @@ -0,0 +1,8 @@ +# $FreeBSD: head/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 $! |