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
4ed2581a
Commit
4ed2581a
authored
Apr 22, 2013
by
antirez
Browse files
Test: split conceptually unrelated comments in RDB test.
parent
8e222c88
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/integration/rdb.tcl
View file @
4ed2581a
...
@@ -63,8 +63,10 @@ start_server_and_kill_it [list "dir" $server_path] {
...
@@ -63,8 +63,10 @@ start_server_and_kill_it [list "dir" $server_path] {
}
}
}
}
# Fix permissions of the RDB file
, but corrupt its CRC64 checksum
.
# Fix permissions of the RDB file.
file attributes
[
file join $server_path dump.rdb
]
-permissions 0666
file attributes
[
file join $server_path dump.rdb
]
-permissions 0666
# Corrupt its CRC64 checksum.
set filesize
[
file size
[
file join $server_path dump.rdb
]]
set filesize
[
file size
[
file join $server_path dump.rdb
]]
set fd
[
open
[
file join $server_path dump.rdb
]
r+
]
set fd
[
open
[
file join $server_path dump.rdb
]
r+
]
fconfigure $fd -translation binary
fconfigure $fd -translation binary
...
...
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