You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-09 00:45:49 +02:00
Fix mismatched timezone in expect test.
Also run the --vm-none tests in a non-UTC timezone to prevent regressions. Suggested by Stephen Frost.
This commit is contained in:
@ -14,6 +14,9 @@ testRun(void)
|
||||
{
|
||||
FUNCTION_HARNESS_VOID();
|
||||
|
||||
// The tests expect the timezone to be UTC
|
||||
setenv("TZ", "UTC", true);
|
||||
|
||||
// Create the repo directories
|
||||
String *repoPath = strNewFmt("%s/repo", testPath());
|
||||
String *archivePath = strNewFmt("%s/%s", strPtr(repoPath), "archive");
|
||||
|
Reference in New Issue
Block a user