From 780f13db30255068772daf06c387ee206d412cd9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 5 Sep 2008 08:15:21 +0000 Subject: Stefan Krause's mail to curl-library at 03 Sep 2008 made me add these two new date strings to get tested too. --- tests/data/test517 | 2 ++ tests/libtest/lib517.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/data/test517 b/tests/data/test517 index bd9d77b29..cd5ecd14c 100644 --- a/tests/data/test517 +++ b/tests/data/test517 @@ -54,6 +54,8 @@ nothing 19: Sat, 11 Sep 2004 21:32:11 +0200 => 1094931131 20: 20040912 15:05:58 -0700 => 1095026758 21: 20040911 +0200 => 1094853600 +22: Thu, 01-Jan-1970 00:59:59 GMT => 3599 +23: Thu, 01-Jan-1970 01:00:00 GMT => 3600 # This test case previously testes an overflow case ("2094 Nov 6 => diff --git a/tests/libtest/lib517.c b/tests/libtest/lib517.c index cdcd64be1..34146d20f 100644 --- a/tests/libtest/lib517.c +++ b/tests/libtest/lib517.c @@ -33,6 +33,8 @@ const char *dates[]={ "Sat, 11 Sep 2004 21:32:11 +0200", "20040912 15:05:58 -0700", "20040911 +0200", + "Thu, 01-Jan-1970 00:59:59 GMT", + "Thu, 01-Jan-1970 01:00:00 GMT", /* "2094 Nov 6", See ../data/test517 for details */ NULL }; -- cgit v1.2.3