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
bd21ce69
Commit
bd21ce69
authored
Apr 25, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only allow "suitename" to be used as a aptch if it has at least one
directory part
parent
2dcba01e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
mysql-test/lib/mtr_cases.pm
mysql-test/lib/mtr_cases.pm
+6
-1
No files found.
mysql-test/lib/mtr_cases.pm
View file @
bd21ce69
...
...
@@ -52,6 +52,7 @@ sub collect_option {
}
use
File::
Basename
;
use
File::Spec::
Functions
qw /
splitdir
/
;
use
IO::
File
();
use
My::
Config
;
use
My::
Platform
;
...
...
@@ -249,8 +250,12 @@ sub collect_one_suite($)
my
$suitedir
=
"
$::glob_mysql_test_dir
";
# Default
if
(
$suite
ne
"
main
"
)
{
if
(
-
d
$suite
){
# Allow suite to be path to "some dir" if $suite has at least
# one directory part
if
(
-
d
$suite
and
splitdir
(
$suite
)
>
1
){
$suitedir
=
$suite
;
mtr_report
("
- from '
$suitedir
'
");
}
else
{
...
...
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