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

Log configuration parameters in config test harness.

This makes it easier to find the current configuration in tests.
This commit is contained in:
David Steele 2021-02-01 14:50:22 -05:00
parent 9baf5d7da7
commit 101bf5d114

View File

@ -28,7 +28,17 @@ harnessCfgLoadRaw(unsigned int argListSize, const char *argList[])
// Free objects in storage helper
storageHelperFree();
configParse(storageLocal(), argListSize, argList, false);
// Log parameters
hrnTestLogPrefix(__LINE__, true);
printf("config load:");
for (unsigned int argIdx = 0; argIdx < argListSize; argIdx++)
printf(" %s", argList[argIdx]);
printf("\n");
fflush(stdout);
// Parse config
configParse(storageLocal(), argListSize, argList, false);