X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=lib%2FGruntmaster%2FDaemon%2FRunner%2FFile.pm;h=c0811634b4e244f790739b22c4ddedcd9294e1bd;hp=1a4829af01619227ddd514df1eed03b687f2abb3;hb=3fa65372157835ebd1b9d286d18bd96cc832f756;hpb=146dc3a758d8e09d6ef8ac09f4ccf2b9c52ed52c diff --git a/lib/Gruntmaster/Daemon/Runner/File.pm b/lib/Gruntmaster/Daemon/Runner/File.pm index 1a4829a..c081163 100644 --- a/lib/Gruntmaster/Daemon/Runner/File.pm +++ b/lib/Gruntmaster/Daemon/Runner/File.pm @@ -9,14 +9,14 @@ use Gruntmaster::Daemon::Constants qw/WA/; use File::Slurp qw/slurp/; use Log::Log4perl qw/get_logger/; -our $VERSION = '5999.000_004'; +our $VERSION = '5999.000_005'; ################################################## sub run{ my ($test, $meta) = @_; get_logger->trace("Running on test $test..."); - $meta->{files}{prog}{run}->($meta->{files}{prog}{name}, fds => [qw/0 input 1 >output/], map {defined $meta->{$_} ? ($_ => $meta->{$_}) : () } qw/timeout olimit mlimit/); + $meta->{files}{prog}{run}->($meta->{files}{prog}{name}, fds => [qw/0 input 1 >output/], map { $_ => $meta->{$_} } qw/timeout olimit mlimit/); my $out = slurp 'output'; my $ok; if (exists $meta->{okfile}) { # uncoverable branch false