mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:33:31 +03:00
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).
This commit is contained in:
parent
a8d6b40736
commit
19631f5d5f
7 changed files with 41 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue