]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Stefan Krause's mail to curl-library at 03 Sep 2008 made me add these two
authorDaniel Stenberg <daniel@haxx.se>
Fri, 5 Sep 2008 08:15:21 +0000 (08:15 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 5 Sep 2008 08:15:21 +0000 (08:15 +0000)
new date strings to get tested too.

tests/data/test517
tests/libtest/lib517.c

index bd9d77b29a2aa02b245c51550f68d85624331f41..cd5ecd14cc0a53f22606bd6047824ad043b03c2d 100644 (file)
@@ -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
 </stdout>
 
 # This test case previously testes an overflow case ("2094 Nov 6 =>
index cdcd64be1b51577d3f3d43dac3ab206335d342fa..34146d20ffbeba1ed2c25ee081ece30dba753e2d 100644 (file)
@@ -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
 };