From: Daniel Stenberg Date: Fri, 5 Sep 2008 08:15:21 +0000 (+0000) Subject: Stefan Krause's mail to curl-library at 03 Sep 2008 made me add these two X-Git-Tag: curl-7_19_1~414 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=780f13db30255068772daf06c387ee206d412cd9;p=thirdparty%2Fcurl.git Stefan Krause's mail to curl-library at 03 Sep 2008 made me add these two new date strings to get tested too. --- diff --git a/tests/data/test517 b/tests/data/test517 index bd9d77b29a..cd5ecd14cc 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 cdcd64be1b..34146d20ff 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 };