summaryrefslogtreecommitdiff
path: root/tests/trap.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/trap.right')
-rw-r--r--tests/trap.right11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/trap.right b/tests/trap.right
index 72f3b6d..c8417ac 100644
--- a/tests/trap.right
+++ b/tests/trap.right
@@ -63,6 +63,17 @@ after while
before false in trap2a.sub
after false in trap2a.sub
command substitution
++[6] echo 1
+1
++[7] echo 2
+2
++[8] echo 3
++[8] cat
++[8] false
+++[8] echo trap: 8
+trap: 8
++[9] echo 4
+4
caught a child death
caught a child death
caught a child death