From dee321adc6b27e175de585ca35f778eeb2790e1d Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Tue, 9 Dec 2014 14:17:49 +0000 Subject: [PATCH] last resort if BSD::Resource is not available in ./bomb.pl, part of MKWS-157 --- test/bin/bomb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/bin/bomb b/test/bin/bomb index 044bf12..c511b36 100755 --- a/test/bin/bomb +++ b/test/bin/bomb @@ -8,6 +8,10 @@ # to the process group will not kill any parent processes. set -o monitor +# the maximum amount of cpu time in seconds +# last resort if BSD::Resource is not available in ./bomb.pl +ulimit -t 120 + # now run the perl script. For unknown reasons, the # call to setpgrp() in perl does not work as expected, # and we solve the issue by this simple shell wrapper -- 1.7.10.4