summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-signals/savetrap.right
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-signals/savetrap.right')
-rw-r--r--shell/hush_test/hush-signals/savetrap.right8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/hush_test/hush-signals/savetrap.right b/shell/hush_test/hush-signals/savetrap.right
new file mode 100644
index 0000000..a59225b
--- /dev/null
+++ b/shell/hush_test/hush-signals/savetrap.right
@@ -0,0 +1,8 @@
+trap -- 'echo Exiting' EXIT
+trap -- 'echo WINCH!' WINCH
+trap -- 'echo Exiting' EXIT
+trap -- 'echo WINCH!' WINCH
+trap -- 'echo Exiting' EXIT
+trap -- 'echo WINCH!' WINCH
+Done
+Exiting