Don't exit with error in tests temp file cleanup if there are no files to clean

This commit is contained in:
antirez 2010-05-20 21:20:10 +02:00
parent 10dea8dc1b
commit fd80abda08

View File

@ -50,8 +50,8 @@ proc s {args} {
} }
proc cleanup {} { proc cleanup {} {
exec rm -rf {*}[glob tests/tmp/redis.conf.*] catch {exec rm -rf {*}[glob tests/tmp/redis.conf.*]}
exec rm -rf {*}[glob tests/tmp/server.*] catch {exec rm -rf {*}[glob tests/tmp/server.*]}
} }
proc main {} { proc main {} {