summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard M. Wiedemann <bwiedemann@suse.de>2019-01-07 16:23:04 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-01-08 10:36:49 +0100
commit114a02c75b702e98abf6328271bc76863c67b931 (patch)
tree880300d71e4fdce7a9b8baa81c846729944a3b79
parentdea3f94298ac0859464768959488938c4e104545 (diff)
downloadcurl-114a02c75b702e98abf6328271bc76863c67b931.tar.gz
tests: allow tests to pass by 2037-02-12
similar to commit f508d29f3902104018 Closes #3443
-rw-r--r--tests/data/test11044
-rw-r--r--tests/data/test141512
-rw-r--r--tests/data/test314
-rw-r--r--tests/data/test3272
-rw-r--r--tests/data/test3292
-rw-r--r--tests/data/test468
-rw-r--r--tests/data/test618
-rw-r--r--tests/data/test626
8 files changed, 23 insertions, 23 deletions
diff --git a/tests/data/test1104 b/tests/data/test1104
index 102d52282..570f13c51 100644
--- a/tests/data/test1104
+++ b/tests/data/test1104
@@ -16,7 +16,7 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT
Location: /want/data/11040002
Server: test-server/fake
Set-Cookie: test=true; domain=127.0.0.1; path=/; expires=Thu Jan 1 00:00:00 GMT 1970;
-Set-Cookie: test2=true; domain=127.0.0.1; path=/; expires=Fri Feb 2 11:56:27 GMT 2035;
+Set-Cookie: test2=true; domain=127.0.0.1; path=/; expires=Fri Feb 13 11:56:27 GMT 2037;
Connection: close
This server reply is for testing a set-cookie
@@ -37,7 +37,7 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT
Location: /want/data/11040002
Server: test-server/fake
Set-Cookie: test=true; domain=127.0.0.1; path=/; expires=Thu Jan 1 00:00:00 GMT 1970;
-Set-Cookie: test2=true; domain=127.0.0.1; path=/; expires=Fri Feb 2 11:56:27 GMT 2035;
+Set-Cookie: test2=true; domain=127.0.0.1; path=/; expires=Fri Feb 13 11:56:27 GMT 2037;
Connection: close
HTTP/1.1 200 Followed here fine swsclose
diff --git a/tests/data/test1415 b/tests/data/test1415
index f5660ba66..91abedc33 100644
--- a/tests/data/test1415
+++ b/tests/data/test1415
@@ -20,12 +20,12 @@ Content-Length: 4
Content-Type: text/html
Funny-head: yesyes
Set-Cookie: test1value=test1; domain=example.com; path=/;
-Set-Cookie: test2value=test2; expires=Friday, 01-Jan-2037 00:00:00 GMT; domain=example.com; path=/;
+Set-Cookie: test2value=test2; expires=Thursday, 31-Dec-2037 00:00:00 GMT; domain=example.com; path=/;
Set-Cookie: test3value=test3; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
-Set-Cookie: test4value=test4; expires=Friday, 01-Jan-2037 00:00:00 GMT; domain=example.com; path=/;
+Set-Cookie: test4value=test4; expires=Thursday, 31-Dec-2037 00:00:00 GMT; domain=example.com; path=/;
Set-Cookie: test5value=test5; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
Set-Cookie: test6value=test6; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
-Set-Cookie: test7value=test7; expires=Friday, 01-Jan-2037 00:00:00 GMT; domain=example.com; path=/;
+Set-Cookie: test7value=test7; expires=Thursday, 31-Dec-2037 00:00:00 GMT; domain=example.com; path=/;
Set-Cookie: test8value=test8; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
boo
@@ -66,9 +66,9 @@ Proxy-Connection: Keep-Alive
# https://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
-.example.com TRUE / FALSE 2114380800 test7value test7
-.example.com TRUE / FALSE 2114380800 test4value test4
-.example.com TRUE / FALSE 2114380800 test2value test2
+.example.com TRUE / FALSE 2145830400 test7value test7
+.example.com TRUE / FALSE 2145830400 test4value test4
+.example.com TRUE / FALSE 2145830400 test2value test2
.example.com TRUE / FALSE 0 test1value test1
</file>
</verify>
diff --git a/tests/data/test31 b/tests/data/test31
index 58398c55d..633b480a9 100644
--- a/tests/data/test31
+++ b/tests/data/test31
@@ -46,7 +46,7 @@ Set-Cookie: partmatch=present; domain=127.0.0.1 ; path=/;
Set-Cookie:eat=this; domain=moo.foo.moo;
Set-Cookie: eat=this-too; domain=.foo.moo;
Set-Cookie: nodomainnovalue
-Set-Cookie: nodomain=value; expires=Fri Feb 2 11:56:27 GMT 2035
+Set-Cookie: nodomain=value; expires=Fri Feb 13 11:56:27 GMT 2037
Set-Cookie: novalue; domain=reallysilly
Set-Cookie: test=yes; domain=foo.com; expires=Sat Feb 2 11:56:27 GMT 2030
Set-Cookie: test2=yes; domain=se; expires=Sat Feb 2 11:56:27 GMT 2030
@@ -105,7 +105,7 @@ Accept: */*
127.0.0.1 FALSE /we/want/ FALSE 0 withspaces yes within and around
127.0.0.1 FALSE /we/want/ FALSE 0 blexp yesyes
#HttpOnly_127.0.0.1 FALSE /silly/ FALSE 0 magic yessir
-127.0.0.1 FALSE /we/want/ FALSE 2054030187 nodomain value
+127.0.0.1 FALSE /we/want/ FALSE 2118138987 nodomain value
127.0.0.1 FALSE / FALSE 0 partmatch present
#HttpOnly_127.0.0.1 FALSE /p4/ FALSE 0 httponly myvalue1
#HttpOnly_127.0.0.1 FALSE /p4/ FALSE 0 httpo4 value4
diff --git a/tests/data/test327 b/tests/data/test327
index fcb98990f..1aa672d0c 100644
--- a/tests/data/test327
+++ b/tests/data/test327
@@ -20,7 +20,7 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes swsclose
-Set-Cookie: foobar=name; expires=Thu, 22 Nov 2028 10:54:11 GMT;
+Set-Cookie: foobar=name; expires=Thu, 22 Nov 2037 10:54:11 GMT;
</data>
<data2>
diff --git a/tests/data/test329 b/tests/data/test329
index c9e3d9d49..2274d475b 100644
--- a/tests/data/test329
+++ b/tests/data/test329
@@ -31,7 +31,7 @@ moo
# Client-side
<client>
<file name="log/jar329.txt" mode="text">
-.host.foo.com TRUE /we/want/ FALSE 2054030187 test no
+.host.foo.com TRUE /we/want/ FALSE 2147483647 test no
</file>
<server>
http
diff --git a/tests/data/test46 b/tests/data/test46
index 5d849df75..4ea259255 100644
--- a/tests/data/test46
+++ b/tests/data/test46
@@ -15,7 +15,7 @@ HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Tue, 25 Sep 2001 19:37:44 GMT
Content-Type: text/html
-Set-Cookie: ckyPersistent=permanent; expires=Fri, 02-Feb-2035 11:56:27 GMT; path=/
+Set-Cookie: ckyPersistent=permanent; expires=Fri, 13-Feb-2037 11:56:27 GMT; path=/
Set-Cookie: ckySession=temporary; path=/
Set-Cookie: ASPSESSIONIDQGGQQSJJ=GKNBDIFAAOFDPDAIEAKDIBKE; path=/
Set-Cookie: justaname=; path=/;
@@ -49,7 +49,7 @@ domain..tld:%HTTPPORT/want/46 --resolve domain..tld:%HTTPPORT:%HOSTIP -c log/jar
# https://curl.haxx.se/docs/http-cookies.html
# This is generated by libcurl! Do not edit.
-www.fake.come FALSE / FALSE 2022144953 cookiecliente si
+www.fake.come FALSE / FALSE 2147483647 cookiecliente si
www.loser.com FALSE / FALSE 2139150993 UID 99
domain..tld FALSE / FALSE 2139150993 mooo indeed
#HttpOnly_domain..tld FALSE /want FALSE 2139150993 mooo2 indeed2
@@ -78,12 +78,12 @@ domain..tld FALSE /want/ FALSE 0 simplyhuge zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
domain..tld FALSE / FALSE 0 justaname
domain..tld FALSE / FALSE 0 ASPSESSIONIDQGGQQSJJ GKNBDIFAAOFDPDAIEAKDIBKE
domain..tld FALSE / FALSE 0 ckySession temporary
-domain..tld FALSE / FALSE 2054030187 ckyPersistent permanent
+domain..tld FALSE / FALSE 2118138987 ckyPersistent permanent
domain..tld FALSE /want FALSE 0 empty
#HttpOnly_domain..tld FALSE /want FALSE 2139150993 mooo2 indeed2
domain..tld FALSE / FALSE 2139150993 mooo indeed
www.loser.com FALSE / FALSE 2139150993 UID 99
-www.fake.come FALSE / FALSE 2022144953 cookiecliente si
+www.fake.come FALSE / FALSE 2147483647 cookiecliente si
</file>
</verify>
</testcase>
diff --git a/tests/data/test61 b/tests/data/test61
index 2709f5112..2bf6490f7 100644
--- a/tests/data/test61
+++ b/tests/data/test61
@@ -17,8 +17,8 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
-Set-Cookie: test=yes; httponly; domain=foo.com; expires=Fri Feb 2 11:56:27 GMT 2035
-SET-COOKIE: test2=yes; domain=host.foo.com; expires=Fri Feb 2 11:56:27 GMT 2035
+Set-Cookie: test=yes; httponly; domain=foo.com; expires=Fri Feb 13 11:56:27 GMT 2037
+SET-COOKIE: test2=yes; domain=host.foo.com; expires=Fri Feb 13 11:56:27 GMT 2037
Set-Cookie: test3=maybe; domain=foo.com; path=/moo; secure
Set-Cookie: test4=no; domain=nope.foo.com; path=/moo; secure
Set-Cookie: test5=name; domain=anything.com; path=/ ; secure
@@ -65,8 +65,8 @@ Accept: */*
# https://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
-.host.foo.com TRUE /we/want/ FALSE 2054030187 test2 yes
-#HttpOnly_.foo.com TRUE /we/want/ FALSE 2054030187 test yes
+.host.foo.com TRUE /we/want/ FALSE 2118138987 test2 yes
+#HttpOnly_.foo.com TRUE /we/want/ FALSE 2118138987 test yes
</file>
</verify>
</testcase>
diff --git a/tests/data/test62 b/tests/data/test62
index add2a6a5d..2784a0f61 100644
--- a/tests/data/test62
+++ b/tests/data/test62
@@ -36,9 +36,9 @@ http://%HOSTIP:%HTTPPORT/we/want/62 http://%HOSTIP:%HTTPPORT/we/want?hoge=fuga -
# https://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
-#HttpOnly_.foo.com TRUE /we/want/ FALSE 2054030187 test yes
-.host.foo.com TRUE /we/want/ FALSE 2054030187 test2 yes
-.fake.host.foo.com TRUE /we/want/ FALSE 2054030187 test4 yes
+#HttpOnly_.foo.com TRUE /we/want/ FALSE 2147483647 test yes
+.host.foo.com TRUE /we/want/ FALSE 2147483647 test2 yes
+.fake.host.foo.com TRUE /we/want/ FALSE 2147483647 test4 yes
.foo.com TRUE /moo TRUE 0 test3 maybe
</file>