summaryrefslogtreecommitdiff
path: root/tests/trap.right
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2013-08-12 19:18:42 -0400
committerChet Ramey <chet.ramey@case.edu>2013-08-12 19:18:42 -0400
commit1442f67c408e60769ff344f9e4c05104e2cef7d0 (patch)
tree6c093574f9b9342f172a8d8367aa9a5849cd4d85 /tests/trap.right
parent25eee30b53c60c43b155880820d29c84928847ca (diff)
downloadbash-4.3-beta.tar.gz
bash-4.3-beta overlaybash-4.3-beta
Diffstat (limited to 'tests/trap.right')
-rw-r--r--tests/trap.right18
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