From 57d51be60c0bb299a30ae5b4c66d9a7113e7586b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 21 Jun 2011 23:18:05 +0200 Subject: parsedate: detect more invalid dates better --- tests/data/test517 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/data') diff --git a/tests/data/test517 b/tests/data/test517 index d7b91842c..31b38b1a2 100644 --- a/tests/data/test517 +++ b/tests/data/test517 @@ -104,6 +104,11 @@ nothing 75: Thu, 12-Aug-2007 20:61:99999999999 GMT => -1 76: IAintNoDateFool => -1 77: Thu Apr 18 22:50 2007 GMT => 1176936600 +78: 20110623 12:34:56 => 1308832496 +79: 20110632 12:34:56 => -1 +80: 20110623 56:34:56 => -1 +81: 20111323 12:34:56 => -1 +82: 20110623 12:34:79 => -1 # This test case previously testes an overflow case ("2094 Nov 6 => -- cgit v1.2.3