summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2017-04-13 11:29:57 +0300
committerPanu Matilainen <pmatilai@redhat.com>2017-04-13 11:29:57 +0300
commit39cce0a43fcf1fc108669e3659544ebced2d5eb4 (patch)
tree16866580cc1522545723a2c73ff2d8a7c16eff64
parent3a18e1a1781bbd00b4be59064bc5f02a662ab418 (diff)
downloadrpm-39cce0a43fcf1fc108669e3659544ebced2d5eb4.tar.gz
Always run testsuite in UTC timezone for reproducability
-rw-r--r--tests/atlocal.in3
-rw-r--r--tests/rpmquery.at2
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 74efc6f66..99661d9f8 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -18,6 +18,9 @@ export RPM_CONFIGDIR RPM_POPTEXEC_PATH
HOME="${RPMTEST}"
export HOME
+TZ=UTC
+export TZ
+
TOPDIR="${RPMTEST}/build"
RPM_XFAIL=${RPM_XFAIL-1}
diff --git a/tests/rpmquery.at b/tests/rpmquery.at
index b4b0b0759..334436bea 100644
--- a/tests/rpmquery.at
+++ b/tests/rpmquery.at
@@ -246,7 +246,7 @@ runroot rpm \
-qp /data/RPMS/hello-2.0-1.x86_64-signed.rpm
],
[0],
-[RSA/SHA256, Thu Apr 6 16:02:33 2017, Key ID 4344591e1964c5fc],
+[RSA/SHA256, Thu Apr 6 13:02:33 2017, Key ID 4344591e1964c5fc],
[warning: /data/RPMS/hello-2.0-1.x86_64-signed.rpm: Header V4 RSA/SHA256 Signature, key ID 1964c5fc: NOKEY
])
AT_CLEANUP