Regression test for issue #142 added

This commit is contained in:
antirez
2011-10-17 10:40:11 +02:00
parent 6e3f1a9e47
commit 6662806a26
2 changed files with 7 additions and 1 deletions

View File

@ -1 +1 @@
#define REDIS_VERSION "2.4.0"
#define REDIS_VERSION "2.4.1"

View File

@ -57,5 +57,11 @@ start_server {tags {"repl"}} {
if {$::valgrind} {after 2000}
r 0 get mykey
} {bar}
test {FLUSHALL should replicate} {
r -1 flushall
if {$::valgrind} {after 2000}
list [r -1 dbsize] [r 0 dbsize]
} {0 0}
}
}