aboutsummaryrefslogtreecommitdiff
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
parenta8d6b40736d17eb1515a72862b9966a4886dd6f7 (diff)
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).
-rw-r--r--CHANGES9
-rw-r--r--RELEASE-NOTES3
-rw-r--r--tests/data/test316
-rw-r--r--tests/data/test466
-rw-r--r--tests/data/test5066
-rw-r--r--tests/data/test5176
-rw-r--r--tests/data/test616
7 files changed, 41 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index dcf7b48b9..bf4f46343 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,15 @@
Changelog
+Dan F (10 July 2007)
+- Fixed a curl memory leak reported by Song Ma with a modified version
+ of the patch he suggested. Added his test case as test289 to verify.
+
+- 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).
+
Version 7.16.4 (10 July 2007)
Daniel S (10 July 2007)
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index 51b2c66df..89f140204 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -15,7 +15,7 @@ This release includes the following changes:
This release includes the following bugfixes:
- o
+ o Test cases 31, 46, 61, 506, 517 now work in time zones that use leap seconds
This release includes the following known bugs:
@@ -32,6 +32,7 @@ New curl mirrors:
This release would not have looked like this without help, code, reports and
advice from friends like these:
+ Dan Fandrich, Song Ma, Daniel Black
Thanks! (and sorry if I forgot to mention someone)
diff --git a/tests/data/test31 b/tests/data/test31
index 080071f13..33ed617ff 100644
--- a/tests/data/test31
+++ b/tests/data/test31
@@ -39,6 +39,12 @@ http
<name>
HTTP with weirdly formatted cookies and cookiejar storage
</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>
http://%HOSTIP:%HTTPPORT/we/want/31 -b none -c log/jar31.txt
</command>
diff --git a/tests/data/test46 b/tests/data/test46
index de60f7cc7..56f47861d 100644
--- a/tests/data/test46
+++ b/tests/data/test46
@@ -34,6 +34,12 @@ http
<name>
HTTP, get cookies and store in cookie jar
</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 from what we expect.
+<setenv>
+TZ=GMT
+</setenv>
<command>
%HOSTIP:%HTTPPORT/want/46 -c log/jar46 -b log/injar46
</command>
diff --git a/tests/data/test506 b/tests/data/test506
index 65a2758d5..89860c318 100644
--- a/tests/data/test506
+++ b/tests/data/test506
@@ -47,6 +47,12 @@ http
<name>
HTTP with shared cookie list (and dns cache)
</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>
<tool>
lib506
</tool>
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>
diff --git a/tests/data/test61 b/tests/data/test61
index c776c9f82..93c95d38e 100644
--- a/tests/data/test61
+++ b/tests/data/test61
@@ -35,6 +35,12 @@ http
<name>
HTTP with various cookies and custom Host:
</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>
http://%HOSTIP:%HTTPPORT/we/want/61 -c log/jar61.txt -H "Host: www.host.foo.com"
</command>