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>
This commit is contained in:
5
shell/ash_test/ash-signals/signal4.tests
Executable file
5
shell/ash_test/ash-signals/signal4.tests
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
trap "echo Trapped" BADNAME TERM; echo $?
|
||||
kill $$
|
||||
echo Ok
|
||||
Reference in New Issue
Block a user