mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mtr_vs_config/my50-mtr_vs_config
into rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.0-maint mysql-test/mysql-test-run.pl: Auto merged
This commit is contained in:
@ -66,6 +66,9 @@ sub mtr_add_arg ($$@) {
|
||||
|
||||
##############################################################################
|
||||
|
||||
# Note - More specific paths should be given before less specific. For examle
|
||||
# /client/debug should be listed before /client
|
||||
|
||||
sub mtr_path_exists (@) {
|
||||
foreach my $path ( @_ )
|
||||
{
|
||||
@ -81,6 +84,9 @@ sub mtr_path_exists (@) {
|
||||
}
|
||||
}
|
||||
|
||||
# Note - More specific paths should be given before less specific. For examle
|
||||
# /client/debug should be listed before /client
|
||||
|
||||
sub mtr_script_exists (@) {
|
||||
foreach my $path ( @_ )
|
||||
{
|
||||
@ -111,6 +117,20 @@ sub mtr_file_exists (@) {
|
||||
return "";
|
||||
}
|
||||
|
||||
# Note - More specific paths should be given before less specific. For examle
|
||||
# /client/debug should be listed before /client
|
||||
|
||||
sub mtr_file_exists (@) {
|
||||
foreach my $path ( @_ )
|
||||
{
|
||||
return $path if -e $path;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
# Note - More specific paths should be given before less specific. For examle
|
||||
# /client/debug should be listed before /client
|
||||
|
||||
sub mtr_exe_maybe_exists (@) {
|
||||
my @path= @_;
|
||||
|
||||
@ -129,6 +149,9 @@ sub mtr_exe_maybe_exists (@) {
|
||||
return "";
|
||||
}
|
||||
|
||||
# Note - More specific paths should be given before less specific. For examle
|
||||
# /client/debug should be listed before /client
|
||||
|
||||
sub mtr_exe_exists (@) {
|
||||
my @path= @_;
|
||||
if (my $path= mtr_exe_maybe_exists(@path))
|
||||
|
Reference in New Issue
Block a user