fix package usage
authorWolfram Schneider <wosch@indexdata.dk>
Fri, 27 Jun 2014 14:31:06 +0000 (16:31 +0200)
committerWolfram Schneider <wosch@indexdata.dk>
Fri, 27 Jun 2014 14:31:06 +0000 (16:31 +0200)
test/bin/bomb.pl

index bcc8ec1..a79be99 100755 (executable)
@@ -42,7 +42,7 @@ die usage if !@system;
 # be ignored
 eval {
     require BSD::Resource;
-    setrlimit("RLIMIT_CPU", $timeout, 2*$timeout) or die "Cannot set CPU limit: $!\n";
+    BSD::Resource::setrlimit("RLIMIT_CPU", $timeout, 2*$timeout) or die "Cannot set CPU limit: $!\n";
 };
 if ($@) {
     warn "Please install the package BSD::Resource!\n\n$@\n";