X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fbin%2Fbomb.pl;fp=test%2Fbin%2Fbomb.pl;h=5671a53d0d65e5ef9b37a9d7f9305a096d7263fb;hb=87d282b5e8d01e9b38aed892cd8d021d3de84327;hp=f4b4cec28a1b66b298f89ce1ba4dec1d6e61be82;hpb=a5e856c2fff2553f8c9251592f670dd79e87660d;p=mkws-moved-to-github.git diff --git a/test/bin/bomb.pl b/test/bin/bomb.pl index f4b4cec..5671a53 100755 --- a/test/bin/bomb.pl +++ b/test/bin/bomb.pl @@ -28,17 +28,16 @@ sub set_alarm { warn "Time out alarm $time\n"; # sends a hang-up signal to all processes in the current process group - # and kill running java processes local $SIG{HUP} = "IGNORE"; kill 1, -$$; + sleep 0.2; local $SIG{TERM} = "IGNORE"; kill 15, -$$; + sleep 0.2; kill 15, -$$; warn "Send a hang-up to all childs.\n"; - - #exit 1; }; warn "set alarm time to: $time seconds $message\n" if $debug >= 1;