summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-signals/signal4.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2010-03-26 15:52:24 +0100
committerDenys Vlasenko2010-03-26 15:52:24 +0100
commit496d5bf4c6566b7837e61fa83da3fb5851ae446b (patch)
treef91880f67012bccd6f3432e3bb4f34ec2a71cefc /shell/ash_test/ash-signals/signal4.tests
parent19158a837df5093a2d655536424412bac2b07467 (diff)
downloadbusybox-496d5bf4c6566b7837e61fa83da3fb5851ae446b.zip
busybox-496d5bf4c6566b7837e61fa83da3fb5851ae446b.tar.gz
ash: trap with bad signal name should not abort
function old new delta trapcmd 236 271 +35 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-signals/signal4.tests')
-rwxr-xr-xshell/ash_test/ash-signals/signal4.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/ash_test/ash-signals/signal4.tests b/shell/ash_test/ash-signals/signal4.tests
new file mode 100755
index 0000000..6f1c4a9
--- /dev/null
+++ b/shell/ash_test/ash-signals/signal4.tests
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+trap "echo Trapped" BADNAME TERM; echo $?
+kill $$
+echo Ok