summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/C03traps.ztst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/C03traps.ztst b/Test/C03traps.ztst
index 4e2338825..d179dc46d 100644
--- a/Test/C03traps.ztst
+++ b/Test/C03traps.ztst
@@ -64,6 +64,17 @@
0:EXIT traps on a script
>Exited.
+ trap -
+ trap
+ trap int INT
+ trap sigterm SIGTERM
+ trap quit 3
+ trap
+0: Outputting traps correctly
+>trap -- int INT
+>trap -- quit QUIT
+>trap -- sigterm TERM
+
fn1() {
trap -
trap