Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libutil Remove tests of "dawn" and "sunset" in pre...



details:   https://anonhg.NetBSD.org/src/rev/6d6659137483
branches:  trunk
changeset: 346073:6d6659137483
user:      kre <kre%NetBSD.org@localhost>
date:      Wed Jun 22 15:01:38 2016 +0000

description:
Remove tests of "dawn" and "sunset" in preparation for removing
them from parsedate() itself sometime soon.

diffstat:

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

diffs (29 lines):

diff -r 97aa7dbc7f99 -r 6d6659137483 tests/lib/libutil/t_parsedate.c
--- a/tests/lib/libutil/t_parsedate.c   Wed Jun 22 10:44:31 2016 +0000
+++ b/tests/lib/libutil/t_parsedate.c   Wed Jun 22 15:01:38 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_parsedate.c,v 1.24 2016/05/05 02:12:21 kre Exp $ */
+/* $NetBSD: t_parsedate.c,v 1.25 2016/06/22 15:01:38 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.24 2016/05/05 02:12:21 kre Exp $");
+__RCSID("$NetBSD: t_parsedate.c,v 1.25 2016/06/22 15:01:38 kre Exp $");
 
 #include <atf-c.h>
 #include <errno.h>
@@ -180,10 +180,6 @@
                ANY, ANY, ANY, 0, 0, 0);
        parsecheck("noon", NULL, NULL, localtime_r,
                ANY, ANY, ANY, 12, 0, 0);
-       parsecheck("dawn", NULL, NULL, localtime_r,
-               ANY, ANY, ANY, 6, 0, 0);
-       parsecheck("sunset", NULL, NULL, localtime_r,
-               ANY, ANY, ANY, 18, 0, 0);
 }
 
 ATF_TC(dsttimes);



Home | Main Index | Thread Index | Old Index