hush/shell/ash_test/ash-signals/signal4.tests
Denys Vlasenko 496d5bf4c6 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>
2010-03-26 15:52:24 +01:00

6 lines
69 B
Bash
Executable File

#!/bin/sh
trap "echo Trapped" BADNAME TERM; echo $?
kill $$
echo Ok