From 34df869f99477edda61d639151b1edf75998abd9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 21 Sep 2013 13:43:39 -0500 Subject: 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. --- tests/data/test1415 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/data') diff --git a/tests/data/test1415 b/tests/data/test1415 index cc6bd70e7..51eed3eed 100644 --- a/tests/data/test1415 +++ b/tests/data/test1415 @@ -18,12 +18,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-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: 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: 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=/; boo @@ -64,9 +64,9 @@ Proxy-Connection: Keep-Alive # This file was generated by libcurl! Edit at your own risk. .example.com TRUE / FALSE 0 test1value test1 -.example.com TRUE / FALSE 2145916800 test2value test2 -.example.com TRUE / FALSE 2145916800 test4value test4 -.example.com TRUE / FALSE 2145916800 test7value test7 +.example.com TRUE / FALSE 2114380800 test2value test2 +.example.com TRUE / FALSE 2114380800 test4value test4 +.example.com TRUE / FALSE 2114380800 test7value test7 -- cgit v1.2.3