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

Error in TEST_STORAGE_LIST() when path does not exist.

This commit is contained in:
Cynthia Shang 2021-07-13 14:28:58 -04:00 committed by David Steele
parent 1ace1ac938
commit be7b8a485b

View File

@ -269,6 +269,7 @@ hrnStorageList(
hrnTestResultBegin(__func__, false);
ASSERT(storage != NULL);
ASSERT(storagePathExistsP(storage, STR(path)));
const String *const pathFull = storagePathP(storage, STR(path));
printf("list%s contents of '%s'", param.remove ? "/remove": "", strZ(pathFull));