1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Handle missing archive start/stop in info/info backup unit test.

This is not a very realistic case since archive start/stop are always written, but it appears in many other unit tests so it should also be tested here.
This commit is contained in:
David Steele 2022-04-20 19:41:28 -04:00
parent d897bf1ec2
commit da6b4abc58

View File

@ -841,12 +841,11 @@ testRun(void)
const Buffer *contentLoad = harnessInfoChecksumZ(
"[backup:current]\n"
"20200317-181416F={\"backrest-format\":5,\"backrest-version\":\"2.25dev\","
"\"backup-archive-start\":\"000000080000000000000020\",\"backup-archive-stop\":\"000000080000000000000020\","
"\"backup-info-repo-size\":3687611,\"backup-info-repo-size-delta\":3687611,\"backup-info-size\":31230816,"
"\"backup-info-size-delta\":31230816,\"backup-timestamp-start\":1584468856,\"backup-timestamp-stop\":1584468864,"
"\"backup-type\":\"full\",\"db-id\":1,\"option-archive-check\":true,\"option-archive-copy\":false,"
"\"option-backup-standby\":false,\"option-checksum-page\":true,\"option-compress\":true,\"option-hardlink\":false,"
"\"option-online\":true}\n"
"\"option-online\":false}\n"
"20200317-181625F={\"backrest-format\":5,\"backrest-version\":\"2.25dev\","
"\"backup-archive-start\":\"000000010000000000000038\",\"backup-archive-stop\":\"000000010000000000000038\","
"\"backup-info-repo-size\":3768898,\"backup-info-repo-size-delta\":3768898,\"backup-info-size\":31533937,"