]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test1596: let test pass after year 2036
authorBernhard M. Wiedemann <bwiedemann@suse.de>
Thu, 19 Jun 2025 07:10:50 +0000 (09:10 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 19 Jun 2025 17:50:09 +0000 (19:50 +0200)
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

tests/data/test1596

index 5778e76b789e0f0e3ad41038f2b8cce01625deda..2f4084a28bf1156c28211e1e7dbaed9c5dc31fe7 100644 (file)
@@ -13,9 +13,9 @@ If-Modified-Since
 <reply>
 <data nocheck="yes">
 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
 
 </data>
 </reply>