Unverified Commit 114a02c7 authored by Bernhard M. Wiedemann's avatar Bernhard M. Wiedemann Committed by Daniel Stenberg
Browse files

tests: allow tests to pass by 2037-02-12

similar to commit f508d29f

Closes #3443
parent dea3f942
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
+6 −6
Original line number Diff line number Diff line
@@ -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>
+2 −2
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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>
+1 −1
Original line number Diff line number Diff line
@@ -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
Loading