use warnings;
use Log::Log4perl qw/get_logger/;
+use File::Slurp qw/write_file/;
our $VERSION = '5999.000_005';
##################################################
sub generate{
- get_logger->trace("Pretending to generate test $_[0]...");
+ get_logger->trace("Generating empty test $_[0]...");
+ write_file 'input', '';
}
1;
my $fail;
@fds = $ENV{GRUNTMASTER_VM} ? qw,1 >/dev/ttyS1 0 /dev/ttyS1, : qw/1 >fifo1 0 fifo2/;
try {
- $meta->{files}{ver}{run}->($meta->{files}{ver}{name}, fds => [@fds, qw,4 >result,], args => [$test], map { $_ => $meta->{$_} } qw/timeout mlimit/);
+ $meta->{files}{ver}{run}->($meta->{files}{ver}{name}, fds => [@fds, qw,3 input 4 >result,], args => [$test], map { $_ => $meta->{$_} } qw/timeout mlimit/);
} catch {
$fail = [WA, 'Wrong Answer'];
};