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
7b8054e1
Commit
7b8054e1
authored
May 05, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add temporary printouts
parent
e61f8fff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+5
-2
No files found.
mysql-test/mysql-test-run.pl
View file @
7b8054e1
...
@@ -3164,6 +3164,7 @@ sub check_expected_crash_and_restart {
...
@@ -3164,6 +3164,7 @@ sub check_expected_crash_and_restart {
# Remove all files and subdirectories of a directory
# Remove all files and subdirectories of a directory
sub
clean_dir
{
sub
clean_dir
{
my
(
$dir
)
=
@_
;
my
(
$dir
)
=
@_
;
print
"
clean_dir:
$dir
\n
";
finddepth
(
finddepth
(
{
no_chdir
=>
1
,
{
no_chdir
=>
1
,
wanted
=>
sub
{
wanted
=>
sub
{
...
@@ -3173,11 +3174,13 @@ sub clean_dir {
...
@@ -3173,11 +3174,13 @@ sub clean_dir {
# The dir to clean
# The dir to clean
return
;
return
;
}
else
{
}
else
{
rmdir
(
$_
)
or
mtr_warning
("
rmdir failed: $!
");
print
"
rmdir: '
$_
'
\n
";
rmdir
(
$_
)
or
mtr_warning
("
rmdir(
$_
) failed: $!
");
}
}
}
else
{
}
else
{
# Hopefully a file
# Hopefully a file
unlink
(
$_
)
or
mtr_warning
("
unlink failed: $!
");
print
"
unlink: '
$_
'
\n
";
unlink
(
$_
)
or
mtr_warning
("
unlink(
$_
) failed: $!
");
}
}
}
}
},
},
...
...
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