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
cea263e4
Commit
cea263e4
authored
Jun 15, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/Users/kent/mysql/bk/mysql-4.1
parents
beec415b
7e1f9d3a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
12 deletions
+25
-12
mysql-test/lib/mtr_cases.pl
mysql-test/lib/mtr_cases.pl
+6
-8
mysql-test/lib/mtr_process.pl
mysql-test/lib/mtr_process.pl
+2
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+15
-3
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+2
-1
No files found.
mysql-test/lib/mtr_cases.pl
View file @
cea263e4
...
@@ -171,8 +171,8 @@ sub collect_one_test_case($$$$$) {
...
@@ -171,8 +171,8 @@ sub collect_one_test_case($$$$$) {
my
$slave_sh
=
"
$testdir
/
$tname
-slave.sh
";
my
$slave_sh
=
"
$testdir
/
$tname
-slave.sh
";
my
$disabled
=
"
$testdir
/
$tname
.disabled
";
my
$disabled
=
"
$testdir
/
$tname
.disabled
";
$tinfo
->
{'
master_opt
'}
=
[]
;
$tinfo
->
{'
master_opt
'}
=
[
"
--default-time-zone=+3:00
"
];
$tinfo
->
{'
slave_opt
'}
=
[]
;
$tinfo
->
{'
slave_opt
'}
=
[
"
--default-time-zone=+3:00
"
];
$tinfo
->
{'
slave_mi
'}
=
[]
;
$tinfo
->
{'
slave_mi
'}
=
[]
;
if
(
-
f
$master_opt_file
)
if
(
-
f
$master_opt_file
)
...
@@ -180,9 +180,9 @@ sub collect_one_test_case($$$$$) {
...
@@ -180,9 +180,9 @@ sub collect_one_test_case($$$$$) {
$tinfo
->
{'
master_restart
'}
=
1
;
# We think so for now
$tinfo
->
{'
master_restart
'}
=
1
;
# We think so for now
# This is a dirty hack from old mysql-test-run, we use the opt file
# This is a dirty hack from old mysql-test-run, we use the opt file
# to flag other things as well, it is not a opt list at all
# to flag other things as well, it is not a opt list at all
my
$extra_master_opt
=
mtr_get_opts_from_file
(
$master_opt_file
);
$tinfo
->
{'
master_opt
'}
=
mtr_get_opts_from_file
(
$master_opt_file
);
foreach
my
$opt
(
@
$extra_master_opt
)
foreach
my
$opt
(
@
{
$tinfo
->
{'
master_opt
'}}
)
{
{
my
$value
;
my
$value
;
...
@@ -191,7 +191,7 @@ sub collect_one_test_case($$$$$) {
...
@@ -191,7 +191,7 @@ sub collect_one_test_case($$$$$) {
if
(
defined
$value
)
if
(
defined
$value
)
{
{
$tinfo
->
{'
timezone
'}
=
$value
;
$tinfo
->
{'
timezone
'}
=
$value
;
$
extra_master_opt
=
[]
;
$
tinfo
->
{'
master_opt
'}
=
[]
;
$tinfo
->
{'
master_restart
'}
=
0
;
$tinfo
->
{'
master_restart
'}
=
0
;
last
;
last
;
}
}
...
@@ -206,13 +206,11 @@ sub collect_one_test_case($$$$$) {
...
@@ -206,13 +206,11 @@ sub collect_one_test_case($$$$$) {
{
{
$tinfo
->
{'
result_file
'}
.=
$::opt_result_ext
;
$tinfo
->
{'
result_file
'}
.=
$::opt_result_ext
;
}
}
$
extra_master_opt
=
[]
;
$
tinfo
->
{'
master_opt
'}
=
[]
;
$tinfo
->
{'
master_restart
'}
=
0
;
$tinfo
->
{'
master_restart
'}
=
0
;
last
;
last
;
}
}
}
}
$tinfo
->
{'
master_opt
'}
=
$extra_master_opt
;
}
}
if
(
-
f
$slave_opt_file
)
if
(
-
f
$slave_opt_file
)
...
...
mysql-test/lib/mtr_process.pl
View file @
cea263e4
...
@@ -669,6 +669,8 @@ sub mtr_mysqladmin_shutdown () {
...
@@ -669,6 +669,8 @@ sub mtr_mysqladmin_shutdown () {
last
;
# If we got here, we are done
last
;
# If we got here, we are done
}
}
sleep
(
5
)
if
$::glob_win32
;
# FIXME next startup fails if no sleep
return
$res
;
return
$res
;
}
}
...
...
mysql-test/mysql-test-run.pl
View file @
cea263e4
...
@@ -204,7 +204,7 @@ our $opt_bench= 0;
...
@@ -204,7 +204,7 @@ our $opt_bench= 0;
our
$opt_small_bench
=
0
;
our
$opt_small_bench
=
0
;
our
$opt_big_test
=
0
;
# Send --big-test to mysqltest
our
$opt_big_test
=
0
;
# Send --big-test to mysqltest
our
$opt_extra_mysqld_opt
;
# FIXME not handled
our
@opt_extra_mysqld_opt
;
our
$opt_compress
;
our
$opt_compress
;
our
$opt_current_test
;
our
$opt_current_test
;
...
@@ -500,7 +500,7 @@ sub command_line_setup () {
...
@@ -500,7 +500,7 @@ sub command_line_setup () {
'
record
'
=>
\
$opt_record
,
'
record
'
=>
\
$opt_record
,
# ???
# ???
'
mysqld=s
'
=>
\
$
opt_extra_mysqld_opt
,
'
mysqld=s
'
=>
\
@
opt_extra_mysqld_opt
,
# Run test on running server
# Run test on running server
'
extern
'
=>
\
$opt_extern
,
'
extern
'
=>
\
$opt_extern
,
...
@@ -953,13 +953,25 @@ sub environment_setup () {
...
@@ -953,13 +953,25 @@ sub environment_setup () {
$ENV
{'
LC_COLLATE
'}
=
"
C
";
$ENV
{'
LC_COLLATE
'}
=
"
C
";
$ENV
{'
USE_RUNNING_SERVER
'}
=
$glob_use_running_server
;
$ENV
{'
USE_RUNNING_SERVER
'}
=
$glob_use_running_server
;
$ENV
{'
MYSQL_TEST_DIR
'}
=
$glob_mysql_test_dir
;
$ENV
{'
MYSQL_TEST_DIR
'}
=
$glob_mysql_test_dir
;
$ENV
{'
MYSQL_TEST_WINDIR
'}
=
$glob_mysql_test_dir
;
$ENV
{'
MASTER_MYSOCK
'}
=
$master
->
[
0
]
->
{'
path_mysock
'};
$ENV
{'
MASTER_MYSOCK
'}
=
$master
->
[
0
]
->
{'
path_mysock
'};
$ENV
{'
MASTER_WINMYSOCK
'}
=
$master
->
[
0
]
->
{'
path_mysock
'};
$ENV
{'
MASTER_MYSOCK1
'}
=
$master
->
[
1
]
->
{'
path_mysock
'};
$ENV
{'
MASTER_MYSOCK1
'}
=
$master
->
[
1
]
->
{'
path_mysock
'};
$ENV
{'
MASTER_MYPORT
'}
=
$master
->
[
0
]
->
{'
path_myport
'};
$ENV
{'
MASTER_MYPORT
'}
=
$master
->
[
0
]
->
{'
path_myport
'};
$ENV
{'
MASTER_MYPORT1
'}
=
$master
->
[
1
]
->
{'
path_myport
'};
$ENV
{'
MASTER_MYPORT1
'}
=
$master
->
[
1
]
->
{'
path_myport
'};
$ENV
{'
SLAVE_MYPORT
'}
=
$slave
->
[
0
]
->
{'
path_myport
'};
$ENV
{'
SLAVE_MYPORT
'}
=
$slave
->
[
0
]
->
{'
path_myport
'};
# $ENV{'MYSQL_TCP_PORT'}= '@MYSQL_TCP_PORT@'; # FIXME
# $ENV{'MYSQL_TCP_PORT'}= '@MYSQL_TCP_PORT@'; # FIXME
$ENV
{'
MYSQL_TCP_PORT
'}
=
3306
;
$ENV
{'
MYSQL_TCP_PORT
'}
=
3306
;
if
(
$glob_cygwin_perl
)
{
foreach
my
$key
('
MYSQL_TEST_WINDIR
','
MASTER_MYSOCK
')
{
$ENV
{
$key
}
=
`
cygpath -w
$ENV
{
$key
}
`;
$ENV
{
$key
}
=~
s,\\,\\\\,g
;
chomp
(
$ENV
{
$key
});
}
}
}
}
...
@@ -1852,7 +1864,7 @@ sub mysqld_arguments ($$$$$) {
...
@@ -1852,7 +1864,7 @@ sub mysqld_arguments ($$$$$) {
}
}
}
}
foreach
my
$arg
(
@$extra_opt
)
foreach
my
$arg
(
@
opt_extra_mysqld_opt
,
@
$extra_opt
)
{
{
mtr_add_arg
(
$args
,
"
%s%s
",
$prefix
,
$arg
);
mtr_add_arg
(
$args
,
"
%s%s
",
$prefix
,
$arg
);
}
}
...
...
mysql-test/mysql-test-run.sh
View file @
cea263e4
...
@@ -170,7 +170,8 @@ cd ..
...
@@ -170,7 +170,8 @@ cd ..
BASEDIR
=
`
pwd
`
BASEDIR
=
`
pwd
`
cd
$CWD
cd
$CWD
MYSQL_TEST_DIR
=
$BASEDIR
/mysql-test
MYSQL_TEST_DIR
=
$BASEDIR
/mysql-test
export
MYSQL_TEST_DIR
MYSQL_TEST_WINDIR
=
$MYSQL_TEST_DIR
export
MYSQL_TEST_DIR MYSQL_TEST_WINDIR
STD_DATA
=
$MYSQL_TEST_DIR
/std_data
STD_DATA
=
$MYSQL_TEST_DIR
/std_data
hostname
=
`
hostname
`
# Installed in the mysql privilege table
hostname
=
`
hostname
`
# Installed in the mysql privilege table
...
...
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