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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
3af223ed
Commit
3af223ed
authored
Nov 11, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
parents
2220a3a8
c6d31783
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+14
-6
No files found.
mysql-test/mysql-test-run.pl
View file @
3af223ed
...
@@ -643,7 +643,7 @@ sub command_line_setup () {
...
@@ -643,7 +643,7 @@ sub command_line_setup () {
$glob_hostname
=
mtr_short_hostname
();
$glob_hostname
=
mtr_short_hostname
();
#
'basedir' is always above "mysql-test" directory ...
#
Find the absolute path to the test directory
$glob_mysql_test_dir
=
cwd
();
$glob_mysql_test_dir
=
cwd
();
if
(
$glob_cygwin_perl
)
if
(
$glob_cygwin_perl
)
{
{
...
@@ -651,12 +651,20 @@ sub command_line_setup () {
...
@@ -651,12 +651,20 @@ sub command_line_setup () {
$glob_mysql_test_dir
=
`
cygpath -m "
$glob_mysql_test_dir
"
`;
$glob_mysql_test_dir
=
`
cygpath -m "
$glob_mysql_test_dir
"
`;
chomp
(
$glob_mysql_test_dir
);
chomp
(
$glob_mysql_test_dir
);
}
}
# ... direct parent for "tar.gz" installations, ...
$glob_basedir
=
dirname
(
$glob_mysql_test_dir
);
# In most cases, the base directory we find everything relative to,
# ... or one more level up, for RPM installations.
# is the parent directory of the "mysql-test" directory. For source
if
(
!
-
d
"
$glob_basedir
/bin
"
)
# distributions, TAR binary distributions and some other packages.
$glob_basedir
=
dirname
(
$glob_mysql_test_dir
);
# In the RPM case, binaries and libraries are installed in the
# default system locations, instead of having our own private base
# directory. And we install "/usr/share/mysql-test". Moving up one
# more directory relative to "mysql-test" gives us a usable base
# directory for RPM installs.
if
(
!
$opt_source_dist
and
!
-
d
"
$glob_basedir
/bin
"
)
{
{
$glob_basedir
=
dirname
(
$glob_basedir
);
$glob_basedir
=
dirname
(
$glob_basedir
);
}
}
# Expect mysql-bench to be located adjacent to the source tree, by default
# Expect mysql-bench to be located adjacent to the source tree, by default
...
...
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