Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
684b6150
Commit
684b6150
authored
Mar 12, 2013
by
antirez
Browse files
Test: check that Redis starts empty without an RDB file.
parent
189e865c
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/integration/rdb.tcl
View file @
684b6150
...
@@ -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
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment