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

Make comment blocks consistent across all tests.

This commit is contained in:
David Steele
2018-09-16 14:15:21 -04:00
parent 84ab787b1a
commit c47fc28c8b
17 changed files with 47 additions and 43 deletions

View File

@ -26,7 +26,7 @@ testRun(void)
{
FUNCTION_HARNESS_VOID();
// -----------------------------------------------------------------------------------------------------------------------------
// *****************************************************************************************************************************
if (testBegin("pageChecksum()"))
{
// Checksum for 0x00 fill, page 0x00
@ -42,7 +42,7 @@ testRun(void)
TEST_RESULT_U16_HEX(pageChecksum(testPage(0), 999, TEST_PAGE_SIZE), 0x0EC3, "check for 0xFF filled page, block 999");
}
// -----------------------------------------------------------------------------------------------------------------------------
// *****************************************************************************************************************************
if (testBegin("pageChecksumTest()"))
{
// Zero the pages
@ -70,7 +70,7 @@ testRun(void)
pageChecksumTest(testPage(0), 0, TEST_PAGE_SIZE, 0x8889, 0x8889), false, "bad checksum before ignore limit");
}
// -----------------------------------------------------------------------------------------------------------------------------
// *****************************************************************************************************************************
if (testBegin("pageChecksumBufferTest()"))
{
// Check that assertion fails if page buffer and page size are not divisible