diff options
author | antirez <antirez@gmail.com> | 2013-03-12 19:55:33 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-03-13 10:09:16 +0100 |
commit | 684b61505ab63e4af5230e90411bd2585ac02b8c (patch) | |
tree | 42315327b5edd8193f8578234db7db268be3c7b4 | |
parent | 189e865c5104bd0eb112168bdbebbec1bb29d6b3 (diff) | |
download | redis-684b61505ab63e4af5230e90411bd2585ac02b8c.tar.gz |
Test: check that Redis starts empty without an RDB file.
-rw-r--r-- | tests/integration/rdb.tcl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/integration/rdb.tcl b/tests/integration/rdb.tcl index 85c5db9f5..3a21c143c 100644 --- a/tests/integration/rdb.tcl +++ b/tests/integration/rdb.tcl @@ -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} +} |