projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c07acf6
)
display a warning message if the alarm handler (timeout) was triggered
author
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 5 Nov 2014 09:53:22 +0000
(09:53 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 5 Nov 2014 09:53:22 +0000
(09:53 +0000)
test/bin/bomb.pl
patch
|
blob
|
history
diff --git
a/test/bin/bomb.pl
b/test/bin/bomb.pl
index
b91f049
..
1592161
100755
(executable)
--- 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...\n\n";
+
# kill process group
kill "INT", -$pgid;
};