From da6b4abc58674902196fe549586c16094dc37e38 Mon Sep 17 00:00:00 2001 From: David Steele Date: Wed, 20 Apr 2022 19:41:28 -0400 Subject: [PATCH] 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. --- test/src/module/info/infoBackupTest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/src/module/info/infoBackupTest.c b/test/src/module/info/infoBackupTest.c index 11f32cafd..9dce11439 100644 --- a/test/src/module/info/infoBackupTest.c +++ b/test/src/module/info/infoBackupTest.c @@ -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,"