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
c950eee2
Commit
c950eee2
authored
Oct 19, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix problem running rpl_timezone on powermacg5, it was not popular to set TZ to "" so now it's set
to a value wich is not our default
parent
9a5b4a11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
mysql-test/lib/mtr_cases.pl
mysql-test/lib/mtr_cases.pl
+7
-5
No files found.
mysql-test/lib/mtr_cases.pl
View file @
c950eee2
...
@@ -263,9 +263,6 @@ sub collect_one_test_case($$$$$$$) {
...
@@ -263,9 +263,6 @@ sub collect_one_test_case($$$$$$$) {
return
;
return
;
}
}
# ----------------------------------------------------------------------
# Skip some tests but include in list, just mark them to skip
# ----------------------------------------------------------------------
my
$tinfo
=
{};
my
$tinfo
=
{};
$tinfo
->
{'
name
'}
=
$tname
;
$tinfo
->
{'
name
'}
=
$tname
;
...
@@ -273,6 +270,10 @@ sub collect_one_test_case($$$$$$$) {
...
@@ -273,6 +270,10 @@ sub collect_one_test_case($$$$$$$) {
$tinfo
->
{'
component_id
'}
=
$component_id
;
$tinfo
->
{'
component_id
'}
=
$component_id
;
push
(
@$cases
,
$tinfo
);
push
(
@$cases
,
$tinfo
);
# ----------------------------------------------------------------------
# Skip some tests but include in list, just mark them to skip
# ----------------------------------------------------------------------
if
(
$::opt_skip_test
and
defined
mtr_match_prefix
(
$tname
,
$::opt_skip_test
)
)
if
(
$::opt_skip_test
and
defined
mtr_match_prefix
(
$tname
,
$::opt_skip_test
)
)
{
{
$tinfo
->
{'
skip
'}
=
1
;
$tinfo
->
{'
skip
'}
=
1
;
...
@@ -356,8 +357,9 @@ sub collect_one_test_case($$$$$$$) {
...
@@ -356,8 +357,9 @@ sub collect_one_test_case($$$$$$$) {
$value
=
mtr_match_prefix
(
$opt
,
"
--default-time-zone=
");
$value
=
mtr_match_prefix
(
$opt
,
"
--default-time-zone=
");
if
(
defined
$value
)
if
(
defined
$value
)
{
{
$tinfo
->
{'
timezone
'}
=
"";
# Set timezone for this test case to something different
# Fallthrough, add this option
$tinfo
->
{'
timezone
'}
=
"
GMT-8
";
# Fallthrough, add the --default-time-zone option
}
}
# The --restart option forces a restart even if no special
# The --restart option forces a restart even if no special
...
...
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