summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-trap/savetrap.right
diff options
context:
space:
mode:
authorDenys Vlasenko2009-09-23 01:46:19 +0200
committerDenys Vlasenko2009-09-23 01:46:19 +0200
commit91836baf85ce6980a33c6ce38730928a4edc3c5a (patch)
tree4bb9751804629463dc9f8e3ff8aac7abd28815df /shell/hush_test/hush-trap/savetrap.right
parentaf3fd14e4df87d8af833d5e7b97d285b4d137d60 (diff)
downloadbusybox-91836baf85ce6980a33c6ce38730928a4edc3c5a.zip
busybox-91836baf85ce6980a33c6ce38730928a4edc3c5a.tar.gz
hush: fix `trap`
function old new delta expand_variables 2217 2280 +63 static.argv - 8 +8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-trap/savetrap.right')
-rw-r--r--shell/hush_test/hush-trap/savetrap.right3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/hush_test/hush-trap/savetrap.right b/shell/hush_test/hush-trap/savetrap.right
new file mode 100644
index 0000000..2d33427
--- /dev/null
+++ b/shell/hush_test/hush-trap/savetrap.right
@@ -0,0 +1,3 @@
+trap -- 'echo WINCH!' SIGWINCH
+trap -- 'echo WINCH!' SIGWINCH
+Done