summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-misc/sig_exitcode.tests
blob: 7879dc8547eb7eb1751976454e82133cefb73895 (plain)
1
2
3
4
5
6
7
8
9
exec 2>&1

$THIS_SH -c 'kill -9 $$'
echo 137:$?

! $THIS_SH -c 'kill -9 $$'
echo 0:$?

echo Done