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
1c4c34bc
Commit
1c4c34bc
authored
Sep 19, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.1-maint
into shellback.(none):/home/msvensson/mysql/mysql-5.1-maint
parents
a2467400
30e3cce9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
19 deletions
+19
-19
mysql-test/lib/mtr_cases.pl
mysql-test/lib/mtr_cases.pl
+1
-3
mysql-test/lib/mtr_process.pl
mysql-test/lib/mtr_process.pl
+0
-8
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+18
-8
No files found.
mysql-test/lib/mtr_cases.pl
View file @
1c4c34bc
...
...
@@ -62,7 +62,7 @@ sub collect_test_cases ($) {
foreach
my
$tname
(
@::opt_cases
)
{
# Run in specified order, no sort
my
$elem
=
undef
;
my
$component_id
=
undef
;
# Get rid of directory part (path). Leave the extension since it is used
# to understand type of the test.
...
...
@@ -538,8 +538,6 @@ sub mtr_options_from_test_file($$) {
while
(
my
$line
=
<
$F
>
)
{
chomp
;
next
if
(
$line
!~
/^--/
);
# Match this line against tag in "tags" array
...
...
mysql-test/lib/mtr_process.pl
View file @
1c4c34bc
...
...
@@ -476,14 +476,6 @@ sub mtr_kill_leftovers () {
mtr_debug
("
Got pid:
$pid
from file '
$pidfile
'
");
# Race, could have been removed between I tested with -f
# and the unlink() below, so I better check again with -f
if
(
!
unlink
(
$pidfile
)
and
-
f
$pidfile
)
{
mtr_error
("
can't remove
$pidfile
");
}
if
(
$::glob_cygwin_perl
or
kill
(
0
,
$pid
)
)
{
mtr_debug
("
There is process with pid
$pid
-- scheduling for kill.
");
...
...
mysql-test/mysql-test-run.pl
View file @
1c4c34bc
...
...
@@ -911,7 +911,7 @@ sub command_line_setup () {
if
(
!
$opt_suite_timeout
)
{
$opt_suite_timeout
=
$default_suite_timeout
;
$opt_suite_timeout
*=
4
if
defined
$opt_valgrind
;
$opt_suite_timeout
*=
6
if
defined
$opt_valgrind
;
}
# Increase times to wait for executables to start if using valgrind
...
...
@@ -943,6 +943,7 @@ sub command_line_setup () {
$master
->
[
0
]
=
{
pid
=>
0
,
type
=>
"
master
",
idx
=>
0
,
path_myddir
=>
"
$opt_vardir
/master-data
",
...
...
@@ -958,6 +959,7 @@ sub command_line_setup () {
$master
->
[
1
]
=
{
pid
=>
0
,
type
=>
"
master
",
idx
=>
1
,
path_myddir
=>
"
$opt_vardir
/master1-data
",
...
...
@@ -973,6 +975,7 @@ sub command_line_setup () {
$slave
->
[
0
]
=
{
pid
=>
0
,
type
=>
"
slave
",
idx
=>
0
,
path_myddir
=>
"
$opt_vardir
/slave-data
",
...
...
@@ -989,6 +992,7 @@ sub command_line_setup () {
$slave
->
[
1
]
=
{
pid
=>
0
,
type
=>
"
slave
",
idx
=>
1
,
path_myddir
=>
"
$opt_vardir
/slave1-data
",
...
...
@@ -1004,6 +1008,7 @@ sub command_line_setup () {
$slave
->
[
2
]
=
{
pid
=>
0
,
type
=>
"
slave
",
idx
=>
2
,
path_myddir
=>
"
$opt_vardir
/slave2-data
",
...
...
@@ -1172,9 +1177,9 @@ sub executable_setup () {
"
$path_client_bindir
/mysqld-nt
",
"
$path_client_bindir
/mysqld
",
"
$path_client_bindir
/mysqld-max
",
"
$path_client_bindir
/mysqld-debug
",
"
$glob_basedir
/sql/release/mysqld
",
"
$glob_basedir
/sql/debug/mysqld
");
"
$path_client_bindir
/mysqld-debug
",
$path_language
=
mtr_path_exists
("
$glob_basedir
/share/english/
",
"
$glob_basedir
/sql/share/english/
");
$path_charsetsdir
=
mtr_path_exists
("
$glob_basedir
/share/charsets
",
...
...
@@ -1661,7 +1666,7 @@ sub kill_running_server () {
{
# Ensure that no old mysqld test servers are running
# This is different from terminating processes we have
# started from ths run of the script, this is terminating
# started from th
i
s run of the script, this is terminating
# leftovers from previous runs.
mtr_report
("
Killing Possible Leftover Processes
");
...
...
@@ -2255,9 +2260,9 @@ sub mysql_install_db () {
if
(
$use_slaves
)
{
install_db
('
slave
',
$slave
->
[
0
]
->
{'
path_myddir
'});
install_db
('
slave
',
$slave
->
[
1
]
->
{'
path_myddir
'});
install_db
('
slave
',
$slave
->
[
2
]
->
{'
path_myddir
'});
install_db
('
slave
1
',
$slave
->
[
0
]
->
{'
path_myddir
'});
install_db
('
slave
2
',
$slave
->
[
1
]
->
{'
path_myddir
'});
install_db
('
slave
3
',
$slave
->
[
2
]
->
{'
path_myddir
'});
}
if
(
!
$opt_skip_im
)
...
...
@@ -2368,6 +2373,12 @@ sub install_db ($$) {
mtr_add_arg
(
$args
,
"
--skip-ndbcluster
");
mtr_add_arg
(
$args
,
"
--tmpdir=.
");
if
(
$opt_debug
)
{
mtr_add_arg
(
$args
,
"
--debug=d:t:i:A,%s/log/bootstrap_%s.trace
",
$opt_vardir_trace
,
$type
);
}
if
(
!
$opt_netware
)
{
mtr_add_arg
(
$args
,
"
--language=%s
",
$path_language
);
...
...
@@ -3115,7 +3126,7 @@ sub mysqld_start ($$$) {
}
else
{
$exe
=
$exe_mysqld
;
mtr_error
("
Unknown 'type' passed to mysqld_start
")
;
}
mtr_init_args
(
\
$args
);
...
...
@@ -3416,7 +3427,6 @@ sub run_testcase_stop_servers($$$) {
my
%
admin_pids
;
# hash of admin processes that requests shutdown
my
@kill_pids
;
# list of processes to shutdown/kill
# Remember if we restarted for this test case
$tinfo
->
{'
restarted
'}
=
$do_restart
;
...
...
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