Commit 4ed2581a authored by antirez's avatar antirez
Browse files

Test: split conceptually unrelated comments in RDB test.

parent 8e222c88
...@@ -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
......
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