X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fbin%2Fbomb.pl;h=ae978595c97b61f785cfa3544502277673843876;hb=fd831c63e414e24a0c596d93beb35f41c73762e5;hp=b91f0499c68337651af9dce0788fb3598de68916;hpb=238734efd7a190c653631ac2db4624c6761df8ec;p=mkws-moved-to-github.git diff --git a/test/bin/bomb.pl b/test/bin/bomb.pl index b91f049..ae97859 100755 --- a/test/bin/bomb.pl +++ b/test/bin/bomb.pl @@ -56,6 +56,9 @@ if ($@) { $SIG{ALRM} = sub { my $pgid = getpgrp(); + warn "Alarm handler got called after $timeout seconds\n"; + warn "Kill now the process group $pgid\n\n"; + # kill process group kill "INT", -$pgid; }; @@ -66,7 +69,7 @@ $SIG{INT} = "IGNORE"; alarm($timeout); system(@system) == 0 - or die "system @system failed: $?"; + or die "system('@system') failed: ?='$?', !='$!', ^E='$^E'\n"; 1;