Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/time Additional tests for timezone offsets.
details: https://anonhg.NetBSD.org/src/rev/02b04cac7126
branches: trunk
changeset: 341297:02b04cac7126
user: ginsbach <ginsbach%NetBSD.org@localhost>
date: Fri Oct 30 01:51:15 2015 +0000
description:
Additional tests for timezone offsets.
diffstat:
tests/lib/libc/time/t_strptime.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r c1167f5fc65d -r 02b04cac7126 tests/lib/libc/time/t_strptime.c
--- a/tests/lib/libc/time/t_strptime.c Fri Oct 30 01:49:36 2015 +0000
+++ b/tests/lib/libc/time/t_strptime.c Fri Oct 30 01:51:15 2015 +0000
@@ -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 @@
{ "+12345", -1 },
{ "+12:345", -1 },
{ "+123:45", -1 },
+ { "+1430", -1 },
+ { "-1430", -1 },
+ { "+1060", -1 },
+ { "-1060", -1 },
{ "A", -3600 },
{ "B", -7200 },
Home |
Main Index |
Thread Index |
Old Index