mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
search for clone several step in the path name
This commit is contained in:
parent
fa0e5ac10c
commit
1f92b717b1
1 changed files with 11 additions and 4 deletions
|
@ -409,13 +409,20 @@ sub main () {
|
|||
{
|
||||
# use default and add any extra_suites as defined
|
||||
$opt_suites= $opt_suites_default;
|
||||
my $ddd= basename(dirname($glob_mysql_test_dir));
|
||||
foreach my $extra_suite (@extra_suites)
|
||||
my $ccc= dirname($glob_mysql_test_dir);
|
||||
my $found= 0;
|
||||
while (!$found and !($ccc eq "/") and !($ccc eq ""))
|
||||
{
|
||||
if ($extra_suite->[0] eq "$ddd")
|
||||
my $ddd= basename($ccc);
|
||||
foreach my $extra_suite (@extra_suites)
|
||||
{
|
||||
$opt_suites= "$extra_suite->[1],$opt_suites";
|
||||
if ($extra_suite->[0] eq "$ddd")
|
||||
{
|
||||
$opt_suites= "$extra_suite->[1],$opt_suites";
|
||||
$found= 1;
|
||||
}
|
||||
}
|
||||
$ccc= dirname($ccc);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue