busybox/shell/hush_test/hush-misc/sig_exitcode.tests

10 lines
97 B
Plaintext
Raw Normal View History

exec 2>&1
$THIS_SH -c 'kill -9 $$'
echo 137:$?
! $THIS_SH -c 'kill -9 $$'
echo 0:$?
echo Done