diff options
author | Mike Frysinger | 2009-03-29 09:54:40 +0000 |
---|---|---|
committer | Mike Frysinger | 2009-03-29 09:54:40 +0000 |
commit | fd303b11efb2c87ed239b36c432566a36f859c8e (patch) | |
tree | 60164cd1e711b2ca49096b3c4e4e2ab961fa2db9 /shell/hush_test/hush-trap/exit.tests | |
parent | 038fe447138aa04d1295cde2e597ec3497ce9214 (diff) | |
download | busybox-fd303b11efb2c87ed239b36c432566a36f859c8e.zip busybox-fd303b11efb2c87ed239b36c432566a36f859c8e.tar.gz |
add test cases for `trap` ... but disabled for now until trap support is committed
Diffstat (limited to 'shell/hush_test/hush-trap/exit.tests')
-rw-r--r-- | shell/hush_test/hush-trap/exit.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/hush_test/hush-trap/exit.tests b/shell/hush_test/hush-trap/exit.tests new file mode 100644 index 0000000..174e74f --- /dev/null +++ b/shell/hush_test/hush-trap/exit.tests @@ -0,0 +1,3 @@ +hush -c 'trap "echo cow" 0' +hush -c 'trap "echo moo" EXIT' +hush -c 'trap "echo no" 0; trap 0' |