mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 09:11:20 +00:00
Enabled object encoding for multiple keys in MSET. Added a test for memory leaks in test-redis.tcl when running on Mac OS X
This commit is contained in:
@ -1092,6 +1092,14 @@ proc main {server port} {
|
||||
$r save
|
||||
} {OK}
|
||||
|
||||
catch {
|
||||
if {[string match {*Darwin*} [exec uname -a]]} {
|
||||
test {Check for memory leaks} {
|
||||
exec leaks redis-server
|
||||
} {*0 leaks*}
|
||||
}
|
||||
}
|
||||
|
||||
puts "\n[expr $::passed+$::failed] tests, $::passed passed, $::failed failed"
|
||||
if {$::failed > 0} {
|
||||
puts "\n*** WARNING!!! $::failed FAILED TESTS ***\n"
|
||||
|
Reference in New Issue
Block a user