Permalink
Browse files

Don't exit with error in tests temp file cleanup if there are no file…

…s to clean
  • Loading branch information...
1 parent 10dea8d commit fd80abda0888564f26437834739ae456276771ff @antirez committed May 20, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/test_helper.tcl
View
@@ -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 {} {

0 comments on commit fd80abd

Please sign in to comment.