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
1901e780
Commit
1901e780
authored
Oct 06, 2009
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
merge 46327 and 47811 from 5.1-mtr->trunk-mtr
parents
96c890eb
102b25cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+6
-4
No files found.
mysql-test/mysql-test-run.pl
View file @
1901e780
...
...
@@ -738,6 +738,7 @@ sub run_worker ($) {
}
elsif
(
$line
eq
'
BYE
'){
mtr_report
("
Server said BYE
");
stop_all_servers
(
$opt_shutdown_timeout
);
exit
(
0
);
}
else
{
...
...
@@ -3443,14 +3444,14 @@ sub run_testcase ($) {
my
$check_res
;
if
(
restart_forced_by_test
()
)
{
stop_all_servers
();
stop_all_servers
(
$opt_shutdown_timeout
);
}
elsif
(
$opt_check_testcases
and
$check_res
=
check_testcase
(
$tinfo
,
"
after
"))
{
if
(
$check_res
==
1
)
{
# Test case had sideeffects, not fatal error, just continue
stop_all_servers
();
stop_all_servers
(
$opt_shutdown_timeout
);
mtr_report
("
Resuming tests...
\n
");
}
else
{
...
...
@@ -4091,6 +4092,7 @@ sub mysqld_stop {
mtr_init_args
(
\
$args
);
mtr_add_arg
(
$args
,
"
--no-defaults
");
mtr_add_arg
(
$args
,
"
--character-sets-dir=%s
",
$mysqld
->
value
('
character-sets-dir
'));
mtr_add_arg
(
$args
,
"
--user=%s
",
$opt_user
);
mtr_add_arg
(
$args
,
"
--password=
");
mtr_add_arg
(
$args
,
"
--port=%d
",
$mysqld
->
value
('
port
'));
...
...
@@ -4294,11 +4296,12 @@ sub mysqld_start ($$) {
sub
stop_all_servers
()
{
my
$shutdown_timeout
=
$_
[
0
]
or
0
;
mtr_verbose
("
Stopping all servers...
");
# Kill all started servers
My::SafeProcess::
shutdown
(
0
,
# shutdown timeout 0 => kill
My::SafeProcess::
shutdown
(
$shutdown_timeout
,
started
(
all_servers
()));
# Remove pidfiles
...
...
@@ -5086,7 +5089,6 @@ sub valgrind_arguments {
else
{
mtr_add_arg
(
$args
,
"
--tool=memcheck
");
# From >= 2.1.2 needs this option
mtr_add_arg
(
$args
,
"
--alignment=8
");
mtr_add_arg
(
$args
,
"
--leak-check=yes
");
mtr_add_arg
(
$args
,
"
--num-callers=16
");
mtr_add_arg
(
$args
,
"
--suppressions=%s/valgrind.supp
",
$glob_mysql_test_dir
)
...
...
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