aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test517
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-07-10 22:27:16 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-07-10 22:27:16 +0000
commit19631f5d5f4ccc5a65b441b80c7fa978c2e04883 (patch)
tree15612805ae7e33b2964cdec40bdfc50d7bf8584c /tests/data/test517
parenta8d6b40736d17eb1515a72862b9966a4886dd6f7 (diff)
downloadgnurl-19631f5d5f4ccc5a65b441b80c7fa978c2e04883.tar.gz
gnurl-19631f5d5f4ccc5a65b441b80c7fa978c2e04883.tar.bz2
gnurl-19631f5d5f4ccc5a65b441b80c7fa978c2e04883.zip
Force the time zone to GMT in the cookie tests in case the user is
using one of the so-called 'right' time zones that take into account leap seconds, which causes the tests to fail (as reported by Daniel Black in bug report #1745964).
Diffstat (limited to 'tests/data/test517')
-rw-r--r--tests/data/test5176
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/data/test517 b/tests/data/test517
index 8673139ce..bd9d77b29 100644
--- a/tests/data/test517
+++ b/tests/data/test517
@@ -17,6 +17,12 @@ lib517
<name>
curl_getdate() testing
</name>
+# Explicitly set the time zone to a known good one, in case the user is
+# using one of the 'right' zones that take into account leap seconds
+# which causes the cookie expiry times to be different.
+<setenv>
+TZ=GMT
+</setenv>
<command>
nothing
</command>