diff options
Diffstat (limited to 'shell/hush_test/hush-signals/exit.right')
-rw-r--r-- | shell/hush_test/hush-signals/exit.right | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/shell/hush_test/hush-signals/exit.right b/shell/hush_test/hush-signals/exit.right new file mode 100644 index 0000000..3d00725 --- /dev/null +++ b/shell/hush_test/hush-signals/exit.right @@ -0,0 +1,12 @@ +cow +moo +Traps1: +trap -- 'exitfunc' EXIT +Traps2: +trap -- 'echo Should not run' EXIT +Check1: 42 +Traps1: +trap -- 'exitfunc' EXIT +Traps2: +trap -- 'echo Should not run' EXIT +Check2: 42 |