busybox/shell/hush_test/hush-signals/save-ret.tests

5 lines
97 B
Plaintext
Raw Normal View History

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