]> iEval git - gruntmaster-daemon.git/commitdiff
Default Verifier/Interactive result to 'Ok'
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 10 Apr 2015 16:28:56 +0000 (19:28 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 10 Apr 2015 16:28:56 +0000 (19:28 +0300)
lib/Gruntmaster/Daemon/Runner/Interactive.pm
lib/Gruntmaster/Daemon/Runner/Verifier.pm

index f87e88cc9a625bb1d9d2f3e01fae5993595265a6..af1581e1fa805a89aee6ba8a4a1f41c9ceb14227 100644 (file)
@@ -50,7 +50,7 @@ sub run{
        unlink 'fifo1';
        unlink 'fifo2';
 
-       scalar slurp 'result'
+       scalar slurp 'result' or 'Ok'
 }
 
 1;
index 463fd7101eade579fc3c3cdf523ab6733431cf12..55c27309bb4e16a08f8a45747ba03b04ed46e5e1 100644 (file)
@@ -23,7 +23,7 @@ sub run{
        } catch {
                die [WA, 'Wrong answer'] ## no critic (RequireCarping)
        };
-       scalar slurp 'result';
+       scalar slurp 'result' or 'Ok';
 }
 
 1;
This page took 0.03756 seconds and 4 git commands to generate.