Commit 684b6150 authored by antirez's avatar antirez
Browse files

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

parent 189e865c
...@@ -23,3 +23,10 @@ start_server [list overrides [list "dir" $server_path "dbfilename" "encodings.rd ...@@ -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}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment