Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
fd80abda
Commit
fd80abda
authored
May 20, 2010
by
antirez
Browse files
Don't exit with error in tests temp file cleanup if there are no files to clean
parent
10dea8dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_helper.tcl
View file @
fd80abda
...
...
@@ -50,8 +50,8 @@ proc s {args} {
}
proc cleanup
{}
{
exec rm -rf
{*}
[
glob tests/tmp/redis.conf.*
]
exec rm -rf
{*}
[
glob tests/tmp/server.*
]
catch
{
exec rm -rf
{*}
[
glob tests/tmp/redis.conf.*
]
}
catch
{
exec rm -rf
{*}
[
glob tests/tmp/server.*
]
}
}
proc main
{}
{
...
...
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