diff options
author | Sven Sandberg <sven@mysql.com> | 2008-07-22 20:55:20 +0200 |
---|---|---|
committer | Sven Sandberg <sven@mysql.com> | 2008-07-22 20:55:20 +0200 |
commit | 47f6bc83827a38260345e0536f4ee47ecddb93dd (patch) | |
tree | d66656ad7adc0f7d2654324f4997c00e57f07d5b /mysql-test/mysql-test-run.pl | |
parent | 1f28448efb44e62e9dee113ccc7d8309b1664c17 (diff) | |
download | mariadb-git-47f6bc83827a38260345e0536f4ee47ecddb93dd.tar.gz |
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.
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index b10a038d15a..c83de254270 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -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!", |