diff options
Diffstat (limited to 'shell/hush_test/hush-trap/exit.right')
-rw-r--r-- | shell/hush_test/hush-trap/exit.right | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/hush_test/hush-trap/exit.right b/shell/hush_test/hush-trap/exit.right index b4932fb7f..3d0072564 100644 --- a/shell/hush_test/hush-trap/exit.right +++ b/shell/hush_test/hush-trap/exit.right | |||
@@ -1,2 +1,12 @@ | |||
1 | cow | 1 | cow |
2 | moo | 2 | moo |
3 | Traps1: | ||
4 | trap -- 'exitfunc' EXIT | ||
5 | Traps2: | ||
6 | trap -- 'echo Should not run' EXIT | ||
7 | Check1: 42 | ||
8 | Traps1: | ||
9 | trap -- 'exitfunc' EXIT | ||
10 | Traps2: | ||
11 | trap -- 'echo Should not run' EXIT | ||
12 | Check2: 42 | ||