Skip to content

Commit

Permalink
Test: check that Redis starts empty without an RDB file.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Mar 13, 2013
1 parent 189e865 commit 684b615
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/integration/rdb.tcl
Expand Up @@ -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}
}

0 comments on commit 684b615

Please sign in to comment.