Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libutil Fix a typo - it doesn't matter now, as the...



details:   https://anonhg.NetBSD.org/src/rev/632db3bb5e1e
branches:  trunk
changeset: 822475:632db3bb5e1e
user:      kre <kre%NetBSD.org@localhost>
date:      Tue Mar 21 21:42:18 2017 +0000

description:
Fix a typo - it doesn't matter now, as the test fails anyway, but
it will matter when parsedate is fixed and the test is supposed to
succeed.

diffstat:

 tests/lib/libutil/t_parsedate.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 841ec7eb09b1 -r 632db3bb5e1e tests/lib/libutil/t_parsedate.c
--- a/tests/lib/libutil/t_parsedate.c   Tue Mar 21 20:06:27 2017 +0000
+++ b/tests/lib/libutil/t_parsedate.c   Tue Mar 21 21:42:18 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_parsedate.c,v 1.26 2017/03/21 20:06:27 kre Exp $ */
+/* $NetBSD: t_parsedate.c,v 1.27 2017/03/21 21:42:18 kre Exp $ */
 /*-
  * Copyright (c) 2010, 2015 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_parsedate.c,v 1.26 2017/03/21 20:06:27 kre Exp $");
+__RCSID("$NetBSD: t_parsedate.c,v 1.27 2017/03/21 21:42:18 kre Exp $");
 
 #include <atf-c.h>
 #include <errno.h>
@@ -189,7 +189,7 @@
        parsecheck("12:30 am", NULL, NULL, localtime_r,
                ANY, ANY, ANY, 0, 30, 0);
        parsecheck("12:30 pm", NULL, NULL, localtime_r,
-               ANY, ANY, ANY, 12, 20, 0);
+               ANY, ANY, ANY, 12, 30, 0);
 
        /*
         * Technically, these are invalid, noon and midnight



Home | Main Index | Thread Index | Old Index