You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-15 01:04:37 +02:00
Add size to info/manifest unit test.
This prevents the check from being order dependent.
This commit is contained in:
@ -1864,7 +1864,7 @@ testRun(void)
|
||||
TEST_TITLE("load validation errors");
|
||||
|
||||
TEST_ERROR(
|
||||
manifestNewLoad(ioBufferReadNew(BUFSTRDEF("[target:file]\npg_data/bogus={}"))), FormatError,
|
||||
manifestNewLoad(ioBufferReadNew(BUFSTRDEF("[target:file]\npg_data/bogus={\"size\":0}"))), FormatError,
|
||||
"missing timestamp for file 'pg_data/bogus'");
|
||||
TEST_ERROR(
|
||||
manifestNewLoad(ioBufferReadNew(BUFSTRDEF("[target:file]\npg_data/bogus={\"timestamp\":0}"))), FormatError,
|
||||
|
Reference in New Issue
Block a user