hush/shell/hush_test/hush-misc/sig_exitcode.tests
Denys Vlasenko a4899efd03 hush: fix exitcodes of killed processes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-04 11:37:09 +01:00

10 lines
97 B
Plaintext
Executable File

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