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 The Zone test was obviously intended to ...



details:   https://anonhg.NetBSD.org/src/rev/6348699c3652
branches:  trunk
changeset: 357108:6348699c3652
user:      kre <kre%NetBSD.org@localhost>
date:      Fri Oct 27 05:14:11 2017 +0000

description:
The Zone test was obviously intended to test %Z rather than %z, otherwise
it would be (and has been) identical to the zone test, which would be a
pointless waste of time.

diffstat:

 tests/lib/libc/time/t_strptime.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3fb28dc57e70 -r 6348699c3652 tests/lib/libc/time/t_strptime.c
--- a/tests/lib/libc/time/t_strptime.c  Fri Oct 27 04:31:50 2017 +0000
+++ b/tests/lib/libc/time/t_strptime.c  Fri Oct 27 05:14:11 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_strptime.c,v 1.13 2017/08/24 01:01:09 ginsbach Exp $ */
+/* $NetBSD: t_strptime.c,v 1.14 2017/10/27 05:14:11 kre 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.13 2017/08/24 01:01:09 ginsbach Exp $");
+__RCSID("$NetBSD: t_strptime.c,v 1.14 2017/10/27 05:14:11 kre Exp $");
 
 #include <time.h>
 #include <stdlib.h>
@@ -438,7 +438,7 @@
 
 ATF_TC_BODY(Zone, tc)
 {
-       ztest("%z");
+       ztest("%Z");
 }
 
 ATF_TP_ADD_TCS(tp)



Home | Main Index | Thread Index | Old Index