diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2015-06-21 03:00:05 +0300 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-06-21 10:54:09 +0200 |
commit | 01ac68dceee7da98da368d122f0bf592589ff9dd (patch) | |
tree | f0d2ed3a049c8f1a3f384749a8fe215f7d593f55 /tests/suite | |
parent | 490f278b5b16cb0488cb56f175cef247614db4a1 (diff) | |
download | gnutls-01ac68dceee7da98da368d122f0bf592589ff9dd.tar.gz |
tests: enforce UTC timezone in datefudge tests
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Diffstat (limited to 'tests/suite')
-rwxr-xr-x | tests/suite/testcompat-openssl | 2 | ||||
-rwxr-xr-x | tests/suite/testcompat-polarssl | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/suite/testcompat-openssl b/tests/suite/testcompat-openssl index f82f00e76b..42b695d8e5 100755 --- a/tests/suite/testcompat-openssl +++ b/tests/suite/testcompat-openssl @@ -44,6 +44,8 @@ else export FIPS=0 fi +export TZ="UTC" + # Check for datefudge TSTAMP=`datefudge "2006-09-23 00:00 UTC" date -u +%s 2>/dev/null` if test "${TSTAMP}" != "1158969600"; then diff --git a/tests/suite/testcompat-polarssl b/tests/suite/testcompat-polarssl index fcaf99bb32..41dd59f710 100755 --- a/tests/suite/testcompat-polarssl +++ b/tests/suite/testcompat-polarssl @@ -32,6 +32,8 @@ srcdir="${srcdir:-.}" +export TZ="UTC" + # Check for datefudge TSTAMP=`datefudge "2006-09-23 00:00 UTC" date -u +%s 2>/dev/null` if test "${TSTAMP}" != "1158969600"; then |