1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Update to remove files after archive-get test completes.

This cleans up the spool path for the next test. Currently there isn't one but there will be.
This commit is contained in:
David Steele 2021-04-14 15:48:04 -04:00
parent 040ad71f8c
commit d859fe8c4d

View File

@ -1105,7 +1105,8 @@ testRun(void)
TEST_RESULT_STR_Z(strNewBuf(serverWrite), "{\"out\":[0,[]]}\n", "check result");
TEST_STORAGE_LIST(
storageSpool(), STORAGE_SPOOL_ARCHIVE_IN, "000000010000000100000002\n01ABCDEF01ABCDEF01ABCDEF.pgbackrest.tmp\n");
storageSpoolWrite(), STORAGE_SPOOL_ARCHIVE_IN, "000000010000000100000002\n01ABCDEF01ABCDEF01ABCDEF.pgbackrest.tmp\n",
.remove = true);
bufUsedSet(serverWrite, 0);
}