Commit 1ce97358 authored by Teodor Mircea Ionita's avatar Teodor Mircea Ionita Committed by Daniel Black

MDEV-17076: increment only if saving occurs

parent c81a2d23
...@@ -724,9 +724,9 @@ sub run_test_server ($$$) { ...@@ -724,9 +724,9 @@ sub run_test_server ($$$) {
{ {
mtr_report(" - saving '$worker_savedir/' to '$savedir/'"); mtr_report(" - saving '$worker_savedir/' to '$savedir/'");
rename($worker_savedir, $savedir); rename($worker_savedir, $savedir);
$num_saved_datadir++;
} }
resfile_print_test(); resfile_print_test();
$num_saved_datadir++;
$num_failed_test++ unless ($result->{retries} || $num_failed_test++ unless ($result->{retries} ||
$result->{exp_fail}); $result->{exp_fail});
......
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