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:
parent
1ace1ac938
commit
be7b8a485b
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user