From: Wolfram Schneider Date: Tue, 9 Dec 2014 14:17:49 +0000 (+0000) Subject: last resort if BSD::Resource is not available in ./bomb.pl, part of MKWS-157 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=dee321adc6b27e175de585ca35f778eeb2790e1d last resort if BSD::Resource is not available in ./bomb.pl, part of MKWS-157 --- 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