mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-03-03 14:52:21 +02:00
Use test lock path in archive-get test.
The default lock path should fail since the test VM gives ownership of /tmp to root. For some reason this was not working as expected under u18 but it fails under u20.
This commit is contained in:
parent
065b5f93ae
commit
49582c13cf
@ -275,6 +275,7 @@ testRun(void)
|
|||||||
hrnCfgArgRawZ(argBaseList, cfgOptRepoPath, TEST_PATH_REPO);
|
hrnCfgArgRawZ(argBaseList, cfgOptRepoPath, TEST_PATH_REPO);
|
||||||
hrnCfgArgRawZ(argBaseList, cfgOptStanza, "test1");
|
hrnCfgArgRawZ(argBaseList, cfgOptStanza, "test1");
|
||||||
hrnCfgArgRawZ(argBaseList, cfgOptArchiveTimeout, "1");
|
hrnCfgArgRawZ(argBaseList, cfgOptArchiveTimeout, "1");
|
||||||
|
hrnCfgArgRawFmt(argBaseList, cfgOptLockPath, "%s/lock", testDataPath());
|
||||||
strLstAddZ(argBaseList, CFGCMD_ARCHIVE_GET);
|
strLstAddZ(argBaseList, CFGCMD_ARCHIVE_GET);
|
||||||
|
|
||||||
// -------------------------------------------------------------------------------------------------------------------------
|
// -------------------------------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user