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
0aca4f00
Commit
0aca4f00
authored
Oct 08, 2009
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #46625 Pushbuild2: does not notice test failure in "Innodb Plugin" mode
Disallow (and don't use) space in combination names
parent
fabde82d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
mysql-test/lib/mtr_cases.pm
mysql-test/lib/mtr_cases.pm
+2
-2
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+6
-0
No files found.
mysql-test/lib/mtr_cases.pm
View file @
0aca4f00
...
...
@@ -539,11 +539,11 @@ sub collect_one_suite($)
push
(
@
{
$new_test
->
{
slave_opt
}},
"
--plugin_load=innodb=
$plugin_filename
;innodb_locks=
$plugin_filename
");
if
(
$new_test
->
{
combination
})
{
$new_test
->
{
combination
}
.=
'
+ InnoDB
plugin
';
$new_test
->
{
combination
}
.=
'
+innodb_
plugin
';
}
else
{
$new_test
->
{
combination
}
=
'
InnoDB
plugin
';
$new_test
->
{
combination
}
=
'
innodb_
plugin
';
}
push
(
@new_cases
,
$new_test
);
}
...
...
mysql-test/mysql-test-run.pl
View file @
0aca4f00
...
...
@@ -3247,6 +3247,12 @@ sub run_testcase ($) {
mtr_verbose
("
Running test:
",
$tinfo
->
{
name
});
# Allow only alpanumerics pluss _ - + . in combination names
my
$combination
=
$tinfo
->
{
combination
};
if
(
$combination
&&
$combination
!~
/^\w[\w-\.\+]+$/
)
{
mtr_error
("
Combination '
$combination
' contains illegal characters
");
}
# -------------------------------------------------------
# Init variables that can change between each test case
# -------------------------------------------------------
...
...
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