Copy input to Scaleway in Interactive.pm
[gruntmaster-daemon.git] / lib / Gruntmaster / Daemon / Runner / Interactive.pm
index 45f4ae41ee1b089ba612c9f3c21519658ddb38fd..81fe7b6030204bf2b5d395d955ab4dd73b80b091 100644 (file)
@@ -6,7 +6,7 @@ use warnings;
 
 use File::Slurp qw/slurp/;
 use Gruntmaster::Daemon::Constants qw/WA/;
-use Gruntmaster::Daemon::Format qw/copy_from_vm/;
+use Gruntmaster::Daemon::Format qw/copy_from_vm copy_to_vm/;
 use Log::Log4perl qw/get_logger/;
 use POSIX qw/mkfifo/;
 use Try::Tiny;
@@ -18,6 +18,7 @@ our $VERSION = '5999.000_005';
 sub run{
        my ($test, $meta) = @_;
        get_logger->trace("Running on test $test...");
+       copy_to_vm 'input';
 
        my @fds = $ENV{GRUNTMASTER_VM} ? qw,0 ../fifo1 1 >../fifo2, : qw/0 fifo1 1 >fifo2/;
        $meta->{files}{prog}{run}->($meta->{files}{prog}{name}, nonblocking => 1, fds => \@fds, map { $_ => $meta->{$_} } qw/timeout mlimit/);
This page took 0.00947 seconds and 4 git commands to generate.