aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libtest/lib517.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib517.c')
-rw-r--r--tests/libtest/lib517.c27
1 files changed, 22 insertions, 5 deletions
diff --git a/tests/libtest/lib517.c b/tests/libtest/lib517.c
index 38a65d30..ba49ec41 100644
--- a/tests/libtest/lib517.c
+++ b/tests/libtest/lib517.c
@@ -1,17 +1,29 @@
-/*****************************************************************************
+/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- */
-
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ *
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
#include "test.h"
#include "memdebug.h"
-static const char *dates[]={
+static const char * const dates[]={
"Sun, 06 Nov 1994 08:49:37 GMT",
"Sunday, 06-Nov-94 08:49:37 GMT",
"Sun Nov 6 08:49:37 1994",
@@ -98,7 +110,12 @@ 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",
+ "Wed, 31 Dec 2008 23:59:60 GMT", /* leap second */
NULL
};