Stefan Krause's mail to curl-library at 03 Sep 2008 made me add these two

new date strings to get tested too.
This commit is contained in:
Daniel Stenberg 2008-09-05 08:15:21 +00:00
parent 62519bfe05
commit 780f13db30
2 changed files with 4 additions and 0 deletions

View 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 =>

View 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
};