From: Bernhard M. Wiedemann Date: Thu, 19 Jun 2025 07:10:50 +0000 (+0200) Subject: test1596: let test pass after year 2036 X-Git-Tag: curl-8_15_0~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=879b6075a1132c137920060ed262b3f5a58c18c2;p=thirdparty%2Fcurl.git test1596: let test pass after year 2036 Background: As part of my work on reproducible builds for openSUSE, I check that software still gives identical build results in the future. The usual offset is +16 years, because that is how long I expect some software will be used in some places. This showed up failing tests in our package build. See https://reproducible-builds.org/ for why this matters. I tested that it passes on x86_64 in year 2041 and i586 in year 2037. (but on i586, I got `TESTFAIL: These test cases failed: 31 46 61 1415`) Closes #17665 --- diff --git a/tests/data/test1596 b/tests/data/test1596 index 5778e76b78..2f4084a28b 100644 --- a/tests/data/test1596 +++ b/tests/data/test1596 @@ -13,9 +13,9 @@ If-Modified-Since HTTP/1.1 429 Too Many Requests -Date: Wed, 31 Dec 2036 02:26:59 GMT +Date: Wed, 31 Dec 2138 02:26:59 GMT Server: test-server/swsclose -Retry-After: Wed, 31 Dec 2036 02:26:59 GMT +Retry-After: Wed, 31 Dec 2138 02:26:59 GMT