Cleanup tcl tmp directory leaking resources (#34)
Few of the servers log are stored as `server1/2/3.log` . Various type of acl files are created and weren't getting cleaned up prior to this change.
This commit is contained in:
parent
1c9710fca1
commit
8153b3c8fd
@ -328,7 +328,8 @@ proc cleanup {} {
|
||||
if {!$::quiet} {puts -nonewline "Cleanup: may take some time... "}
|
||||
flush stdout
|
||||
catch {exec rm -rf {*}[glob tests/tmp/redis.conf.*]}
|
||||
catch {exec rm -rf {*}[glob tests/tmp/server.*]}
|
||||
catch {exec rm -rf {*}[glob tests/tmp/server*.*]}
|
||||
catch {exec rm -rf {*}[glob tests/tmp/*.acl.*]}
|
||||
if {!$::quiet} {puts "OK"}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user