1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-06-25 00:16:54 +02:00

Improve module branch coverage.

Add full branch coverage for cipher/block, command/command, common/wait, and postgres/pageChecksum modules.
This commit is contained in:
David Steele
2018-05-04 09:21:32 -04:00
parent c3a8fbe706
commit 6c3b40152f
6 changed files with 47 additions and 11 deletions

View File

@ -62,6 +62,8 @@ testRun()
TEST_RESULT_BOOL(
pageChecksumTest(testPage(0), 0, TEST_PAGE_SIZE, 0x8888, 0x8888), true, "bad checksum past ignore limit");
TEST_RESULT_BOOL(
pageChecksumTest(testPage(0), 0, TEST_PAGE_SIZE, 0x8888, 0x8889), false, "bad checksum before ignore limit");
TEST_RESULT_BOOL(
pageChecksumTest(testPage(0), 0, TEST_PAGE_SIZE, 0x8889, 0x8889), false, "bad checksum before ignore limit");
}