X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Fbin%2Fbomb.pl;fp=test%2Fbin%2Fbomb.pl;h=9e0f06bde88b09645fc2d39bfc8e046055a314c4;hb=0360c45d9be87b9a5de497933fb316752868bab9;hp=4ce8590da78fd80565097e8d244eaebda7e727a5;hpb=b0dabcd2993438c7326c44ee76da8c6bf67e8a37;p=mkws-moved-to-github.git diff --git a/test/bin/bomb.pl b/test/bin/bomb.pl index 4ce8590..9e0f06b 100755 --- a/test/bin/bomb.pl +++ b/test/bin/bomb.pl @@ -41,7 +41,7 @@ die usage if !@system; # set CPU limit, in case the alarm handler will # be ignored -setrlimit(RLIMIT_CPU, $timeout, 2*$timeout) or die "Cannot set CPU limit: $!\n"; +setrlimit("RLIMIT_CPU", $timeout, 2*$timeout) or die "Cannot set CPU limit: $!\n"; # # use fork/exec instead system()