More aggressively set timezone for regression testing.

This commit is contained in:
Andrew McMillan 2013-09-26 16:25:01 +02:00
parent 2aa2f244ee
commit 413c26dd71
2 changed files with 2 additions and 0 deletions

View File

@ -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'");
}

View File

@ -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"