summaryrefslogtreecommitdiff
path: root/release/src/router/busybox/shell/hush_test/hush-trap/exit.tests
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/router/busybox/shell/hush_test/hush-trap/exit.tests')
-rwxr-xr-xrelease/src/router/busybox/shell/hush_test/hush-trap/exit.tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/src/router/busybox/shell/hush_test/hush-trap/exit.tests b/release/src/router/busybox/shell/hush_test/hush-trap/exit.tests
new file mode 100755
index 00000000..092543c2
--- /dev/null
+++ b/release/src/router/busybox/shell/hush_test/hush-trap/exit.tests
@@ -0,0 +1,3 @@
+"$THIS_SH" -c 'trap "echo cow" 0'
+"$THIS_SH" -c 'trap "echo moo" EXIT'
+"$THIS_SH" -c 'trap "echo no" 0; trap 0'