summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/test.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/test.pl b/t/test.pl
index c754090dde..60f185854f 100644
--- a/t/test.pl
+++ b/t/test.pl
@@ -1316,6 +1316,10 @@ sub run_multiple_progs {
elsif ($option eq 'fatal') { # perl should fail
$fatal = 1;
}
+ elsif ($option eq 'nonfatal') {
+ # used to turn off default fatal
+ $fatal = 0;
+ }
else {
die "$0: Unknown OPTION '$option'\n";
}