diff options
Diffstat (limited to 'tests/trap.right')
-rw-r--r-- | tests/trap.right | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/trap.right b/tests/trap.right index c04d1726..1da72a52 100644 --- a/tests/trap.right +++ b/tests/trap.right @@ -85,6 +85,24 @@ outside 1 outside 2 outside 3 outside 4 +sleep 2 +wait $! +exit +in trap EXIT +sleep 2 +wait $! +exit +in trap EXIT +works +bar +bar +foo +trap -- '' SIGINT +trap -- '' SIGUSR2 +foo +bar +foo +bar caught a child death caught a child death caught a child death |