1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +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:
David Steele
2019-10-10 19:43:42 -04:00
parent 6db4e59a66
commit e3d87ebace
3 changed files with 14 additions and 0 deletions
+3
View File
@@ -182,6 +182,9 @@ eval
processExec('sudo mkdir -p /tmp/pgbackrest && sudo chown root:root /tmp/pgbackrest && sudo chmod 700 /tmp/pgbackrest');
processEnd();
# Set local timezone to make sure tests work in any timezone
$ENV{'TZ'} = 'America/New_York';
processBegin('remove sudo');
processExec('sudo rm /etc/sudoers.d/travis');
processEnd();