diff --git a/testing/dav_test b/testing/dav_test index 1eadae84..c1e3d1e1 100755 --- a/testing/dav_test +++ b/testing/dav_test @@ -330,6 +330,7 @@ with DBD::Pg. sub opendb { $dsn = "dbi:Pg:dbname=$dsn"; $dbh = DBI->connect($dsn, $dbuser, $dbpass, { AutoCommit => 1 } ) or die "Can't connect to database $dsn"; + $dbh->do("SET TIMEZONE TO 'Pacific/Auckland'"); } diff --git a/testing/run_regressions.sh b/testing/run_regressions.sh index 4da6949a..59fe9b4f 100755 --- a/testing/run_regressions.sh +++ b/testing/run_regressions.sh @@ -8,6 +8,7 @@ HOSTNAME=regression # We need to run the regression tests in the timezone they were written for. export PGTZ=Pacific/Auckland +export TZ=Pacific/Auckland ALLSUITES="regression-suite binding carddav scheduling timezone"