~ruther/guix-local

ref: 1a1558e88f1f119be9dca28dac0bf554bc6aa171 guix-local/gnu/packages/patches/netsurf-y2038-tests.patch -rw-r--r-- 640 bytes
1a1558e8 — Marius Bakke gnu: postgresql: Update to 9.6.4 [fixes CVE-2017-{7546,7547,7548}]. 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
These two test cases fail for us on i686.

See https://en.wikipedia.org/wiki/Year_2038_problem

--- netsurf-3.6/test/time.c
+++ netsurf-3.6/test/time.c
@@ -77,18 +77,10 @@
 		.expected = "Tue, 12 Jun 2001 12:12:12 GMT"
 	},
 	{
-		.test     = "Thu, 16 Jul 2207 12:45:12 GMT",
-		.expected = "Thu, 16 Jul 2207 12:45:12 GMT"
-	},
-	{
 		.test     = "Thu, 16 Aug 2007 19:45:12 GMT",
 		.expected = "Thu, 16 Aug 2007 19:45:12 GMT"
 	},
 	{
-		.test     = "Tue, 16 Sep 3456 00:45:12 GMT",
-		.expected = "Tue, 16 Sep 3456 00:45:12 GMT"
-	},
-	{
 		.test     = "Sun, 16 Oct 1988 19:45:59 GMT",
 		.expected = "Sun, 16 Oct 1988 19:45:59 GMT"
 	},