Commit c6392542 authored by Bjorn Munch's avatar Bjorn Munch

Bug #58482 mtr doesn't use suite names from individually specified test cases

It does work in general, the problem here was that the test name
'alter_table' matches 'main.alter_table-big' which has already been found.
Fixed by matching more explicitly (with/without suite name)
parent 891593e4
...@@ -143,7 +143,7 @@ sub collect_test_cases ($$$) { ...@@ -143,7 +143,7 @@ sub collect_test_cases ($$$) {
{ {
last unless $opt_reorder; last unless $opt_reorder;
# test->{name} is always in suite.name format # test->{name} is always in suite.name format
if ( $test->{name} =~ /.*\.$tname/ ) if ( $test->{name} =~ /^$sname.*\.$tname$/ )
{ {
$found= 1; $found= 1;
last; last;
......
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