display a warning message if the alarm handler (timeout) was triggered
[mkws-moved-to-github.git] / test / bin / bomb.pl
index b91f049..1592161 100755 (executable)
@@ -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;
 };