Module Name:    src
Committed By:   ginsbach
Date:           Fri Oct 30 01:51:15 UTC 2015

Modified Files:
        src/tests/lib/libc/time: t_strptime.c

Log Message:
Additional tests for timezone offsets.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/time/t_strptime.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/time/t_strptime.c
diff -u src/tests/lib/libc/time/t_strptime.c:1.7 src/tests/lib/libc/time/t_strptime.c:1.8
--- src/tests/lib/libc/time/t_strptime.c:1.7	Thu Oct 29 17:48:20 2015
+++ src/tests/lib/libc/time/t_strptime.c	Fri Oct 30 01:51:15 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: t_strptime.c,v 1.7 2015/10/29 17:48:20 christos Exp $ */
+/* $NetBSD: t_strptime.c,v 1.8 2015/10/30 01:51:15 ginsbach Exp $ */
 
 /*-
  * Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #include <sys/cdefs.h>
 __COPYRIGHT("@(#) Copyright (c) 2008\
  The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: t_strptime.c,v 1.7 2015/10/29 17:48:20 christos Exp $");
+__RCSID("$NetBSD: t_strptime.c,v 1.8 2015/10/30 01:51:15 ginsbach Exp $");
 
 #include <time.h>
 
@@ -335,6 +335,10 @@ static struct {
 	{ "+12345",			-1 },
 	{ "+12:345",			-1 },
 	{ "+123:45",			-1 },
+	{ "+1430",			-1 },
+	{ "-1430",			-1 },
+	{ "+1060",			-1 },
+	{ "-1060",			-1 },
 
 	{ "A",				-3600 },
 	{ "B",				-7200 },

Reply via email to