summaryrefslogtreecommitdiff
path: root/tests/trap.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/trap.right')
-rw-r--r--tests/trap.right10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/trap.right b/tests/trap.right
index f7b89a51..370d9b7d 100644
--- a/tests/trap.right
+++ b/tests/trap.right
@@ -45,6 +45,16 @@ trap -- 'echo aborting' SIGQUIT
trap -- 'echo aborting' SIGABRT
trap -- 'echo aborting' SIGTERM
0
+ERRTRAP
+ERRTRAP
+ERRTRAP
+after falses
+if negation ok
+after negation
+after while
+before false in trap2a.sub
+after false in trap2a.sub
+command substitution
caught a child death
caught a child death
caught a child death