test1415: adjusted to work for 32bit time_t
The libcurl date parser returns INT_MAX for all dates > 2037 so this test is now made to use 2037 instead of 2038 to work the same for both 32bit and 64bit time_t systems.
This commit is contained in:
parent
3f04d48495
commit
34df869f99
@ -18,12 +18,12 @@ Content-Length: 4
|
|||||||
Content-Type: text/html
|
Content-Type: text/html
|
||||||
Funny-head: yesyes
|
Funny-head: yesyes
|
||||||
Set-Cookie: test1value=test1; domain=example.com; path=/;
|
Set-Cookie: test1value=test1; domain=example.com; path=/;
|
||||||
Set-Cookie: test2value=test2; expires=Friday, 01-Jan-2038 00:00:00 GMT; domain=example.com; path=/;
|
Set-Cookie: test2value=test2; expires=Friday, 01-Jan-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: test3value=test3; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
|
||||||
Set-Cookie: test4value=test4; expires=Friday, 01-Jan-2038 00:00:00 GMT; domain=example.com; path=/;
|
Set-Cookie: test4value=test4; expires=Friday, 01-Jan-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: 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: test6value=test6; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
|
||||||
Set-Cookie: test7value=test7; expires=Friday, 01-Jan-2038 00:00:00 GMT; domain=example.com; path=/;
|
Set-Cookie: test7value=test7; expires=Friday, 01-Jan-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=/;
|
Set-Cookie: test8value=test8; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
|
||||||
|
|
||||||
boo
|
boo
|
||||||
@ -64,9 +64,9 @@ Proxy-Connection: Keep-Alive
|
|||||||
# This file was generated by libcurl! Edit at your own risk.
|
# This file was generated by libcurl! Edit at your own risk.
|
||||||
|
|
||||||
.example.com TRUE / FALSE 0 test1value test1
|
.example.com TRUE / FALSE 0 test1value test1
|
||||||
.example.com TRUE / FALSE 2145916800 test2value test2
|
.example.com TRUE / FALSE 2114380800 test2value test2
|
||||||
.example.com TRUE / FALSE 2145916800 test4value test4
|
.example.com TRUE / FALSE 2114380800 test4value test4
|
||||||
.example.com TRUE / FALSE 2145916800 test7value test7
|
.example.com TRUE / FALSE 2114380800 test7value test7
|
||||||
</file>
|
</file>
|
||||||
</verify>
|
</verify>
|
||||||
</testcase>
|
</testcase>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user