Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
510d5f14
Commit
510d5f14
authored
Aug 16, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge shellback.(none):/home/msvensson/mysql/mysql-5.0
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
parents
da60a519
55165b2f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
mysql-test/lib/mtr_misc.pl
mysql-test/lib/mtr_misc.pl
+16
-2
No files found.
mysql-test/lib/mtr_misc.pl
View file @
510d5f14
...
@@ -82,9 +82,16 @@ sub mtr_path_exists (@) {
...
@@ -82,9 +82,16 @@ sub mtr_path_exists (@) {
sub
mtr_script_exists
(@)
{
sub
mtr_script_exists
(@)
{
foreach
my
$path
(
@_
)
foreach
my
$path
(
@_
)
{
if
(
$::glob_win32
)
{
return
$path
if
-
f
$path
;
}
else
{
{
return
$path
if
-
x
$path
;
return
$path
if
-
x
$path
;
}
}
}
if
(
@_
==
1
)
if
(
@_
==
1
)
{
{
mtr_error
("
Could not find
$_
[0]
");
mtr_error
("
Could not find
$_
[0]
");
...
@@ -107,9 +114,16 @@ sub mtr_exe_exists (@) {
...
@@ -107,9 +114,16 @@ sub mtr_exe_exists (@) {
my
@path
=
@_
;
my
@path
=
@_
;
map
{
$_
.=
"
.exe
"}
@path
if
$::glob_win32
;
map
{
$_
.=
"
.exe
"}
@path
if
$::glob_win32
;
foreach
my
$path
(
@path
)
foreach
my
$path
(
@path
)
{
if
(
$::glob_win32
)
{
return
$path
if
-
f
$path
;
}
else
{
{
return
$path
if
-
x
$path
;
return
$path
if
-
x
$path
;
}
}
}
if
(
@path
==
1
)
if
(
@path
==
1
)
{
{
mtr_error
("
Could not find
$path
[0]
");
mtr_error
("
Could not find
$path
[0]
");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment