busybox/shell/hush_test/hush-signals/save-ret.tests
Denys Vlasenko 3ed7e2749a ash testsuite: add return_in_trap1.tests
Currently it fails

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-10-01 22:36:14 +02:00

5 lines
97 B
Plaintext
Executable File

# make sure we do not corrupt $? across traps
trap "echo YEAH; false" USR1
kill -USR1 $$
echo $?