mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
Test: split conceptually unrelated comments in RDB test.
This commit is contained in:
parent
8e222c888f
commit
4ed2581a92
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user