Test: check that Redis starts empty without an RDB file.

This commit is contained in:
antirez 2013-03-12 19:55:33 +01:00
parent 79a6844e44
commit 0b74a85678

View File

@ -23,3 +23,10 @@ start_server [list overrides [list "dir" $server_path "dbfilename" "encodings.rd
} }
} }
set server_path [tmpdir "server.rdb-startup-test"]
start_server [list overrides [list "dir" $server_path]] {
test {Server started empty with non-existing RDB file} {
r debug digest
} {0000000000000000000000000000000000000000}
}