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
Hide 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 {
# Remove all files and subdirectories of a directory
sub
clean_dir
{
my
(
$dir
)
=
@_
;
print
"
clean_dir:
$dir
\n
";
finddepth
(
{
no_chdir
=>
1
,
wanted
=>
sub
{
...
...
@@ -3173,11 +3174,13 @@ sub clean_dir {
# The dir to clean
return
;
}
else
{
rmdir
(
$_
)
or
mtr_warning
("
rmdir failed: $!
");
print
"
rmdir: '
$_
'
\n
";
rmdir
(
$_
)
or
mtr_warning
("
rmdir(
$_
) failed: $!
");
}
}
else
{
# 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