aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib517.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-06-21 23:18:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-06-23 13:49:29 +0200
commit57d51be60c0bb299a30ae5b4c66d9a7113e7586b (patch)
tree9b16c665f94f51cf56d519972c3796d68f292f66 /tests/libtest/lib517.c
parent8da5da9b6544337b8a675db092da201f279265d4 (diff)
parsedate: detect more invalid dates better
Diffstat (limited to 'tests/libtest/lib517.c')
-rw-r--r--tests/libtest/lib517.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/libtest/lib517.c b/tests/libtest/lib517.c
index 9e0a91f16..8502e9521 100644
--- a/tests/libtest/lib517.c
+++ b/tests/libtest/lib517.c
@@ -110,7 +110,11 @@ static const char *dates[]={
"Thu, 12-Aug-2007 20:61:99999999999 GMT",
"IAintNoDateFool",
"Thu Apr 18 22:50 2007 GMT", /* without seconds */
-
+ "20110623 12:34:56",
+ "20110632 12:34:56",
+ "20110623 56:34:56",
+ "20111323 12:34:56",
+ "20110623 12:34:79",
NULL
};