Commit 47f6bc83 authored by Sven Sandberg's avatar Sven Sandberg

BUG#37834: mtr --max-test-fail=0 does not set max number of failed tests to unlimited

Problem: mtr --max-test-fail=0 should allow unlimited number
of errors, but stops after the second error.
Fix: It's just a typo in mysql-test-run.pl


mysql-test/mysql-test-run.pl:
  Just a typo.
parent 1f28448e
......@@ -451,7 +451,7 @@ sub run_test_server {
push(@$completed, $result);
return $completed;
}
elsif ($num_failed_test > 0 and
elsif ($opt_max_test_fail > 0 and
$num_failed_test >= $opt_max_test_fail) {
$suite_timeout_proc->kill();
mtr_report("Too many tests($num_failed_test) failed!",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment