X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=test%2Fbin%2Fbomb;fp=test%2Fbin%2Fbomb;h=c511b3633748444836e8e05c4dd683f1e36eae0f;hp=044bf128eb3e8a2c77b0b51408205bc43ba61f05;hb=dee321adc6b27e175de585ca35f778eeb2790e1d;hpb=a05e3ada8c1ea684724b420719dcbb152294af89 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