]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/11-good-use.t
Actually exit when the child didn't succeed
[perl/modules/indirect.git] / t / 11-good-use.t
index 8cf224adefb128beca92911f5346ecfd1982030b..828b93362a7b732bf2451c8dfaaca487cba74aea 100644 (file)
@@ -26,6 +26,7 @@ unless ($success) {
  diag $stderr;
  diag "Failed to execute data file (error $err_code)";
  fail "Couldn't run test $_" for 1 .. $total + 1;
+ exit $total + 1;
 }
 
 my %fail;