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
9c68ca63
Commit
9c68ca63
authored
Oct 03, 2011
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backporting 11766169, fixing 13034450
parent
d2e2260d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
mysql-test/lib/mtr_cases.pm
mysql-test/lib/mtr_cases.pm
+5
-2
No files found.
mysql-test/lib/mtr_cases.pm
View file @
9c68ca63
...
@@ -222,8 +222,11 @@ sub collect_test_cases ($$$) {
...
@@ -222,8 +222,11 @@ sub collect_test_cases ($$$) {
sub
split_testname
{
sub
split_testname
{
my
(
$test_name
)
=
@_
;
my
(
$test_name
)
=
@_
;
# Get rid of directory part and split name on .'s
# If .test file name is used, get rid of directory part
my
@parts
=
split
(
/\./
,
basename
(
$test_name
));
$test_name
=
basename
(
$test_name
)
if
$test_name
=~
/\.test$/
;
# Now split name on .'s
my
@parts
=
split
(
/\./
,
$test_name
);
if
(
@parts
==
1
){
if
(
@parts
==
1
){
# Only testname given, ex: alias
# Only testname given, ex: alias
...
...
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