Commit e7036ec1 authored by Sergei Golubchik's avatar Sergei Golubchik

mtr bug: files outside of both the suite dir and the overlay dir, were

treated as coming from the overlay.
  
(example: archive suite, test_sql_discovery overlay, mysql-test/include/have_archive.inc)
parent 48bb5513
...@@ -968,6 +968,8 @@ sub get_tags_from_file($$) { ...@@ -968,6 +968,8 @@ sub get_tags_from_file($$) {
} elsif ($over and $file =~ m@^$pdir/(.*)$@) { } elsif ($over and $file =~ m@^$pdir/(.*)$@) {
$suffix = $1; $suffix = $1;
@prefix = map { "$_/" } $sdir, $pdir; @prefix = map { "$_/" } $sdir, $pdir;
} else {
$over = 0; # file neither in $sdir nor in $pdir
} }
while (my $line= <$F>) while (my $line= <$F>)
......
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