Module Name:    src
Committed By:   kre
Date:           Wed Mar 22 01:00:19 UTC 2017

Modified Files:
        src/tests/lib/libutil: t_parsedate.c

Log Message:
Since PR lib/52101 is now fixed, the tests for its bug should no longer fail.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/tests/lib/libutil/t_parsedate.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/libutil/t_parsedate.c
diff -u src/tests/lib/libutil/t_parsedate.c:1.27 src/tests/lib/libutil/t_parsedate.c:1.28
--- src/tests/lib/libutil/t_parsedate.c:1.27	Tue Mar 21 21:42:18 2017
+++ src/tests/lib/libutil/t_parsedate.c	Wed Mar 22 01:00:19 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: t_parsedate.c,v 1.27 2017/03/21 21:42:18 kre Exp $ */
+/* $NetBSD: t_parsedate.c,v 1.28 2017/03/22 01:00:19 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.27 2017/03/21 21:42:18 kre Exp $");
+__RCSID("$NetBSD: t_parsedate.c,v 1.28 2017/03/22 01:00:19 kre Exp $");
 
 #include <atf-c.h>
 #include <errno.h>
@@ -184,7 +184,12 @@ ATF_TC_BODY(times, tc)
 	parsecheck("noon", NULL, NULL, localtime_r,
 		ANY, ANY, ANY, 12, 0, 0);
 
+	/*
+	 * The following tests used to trigger the bug from PR lib/52101
+	 * but that is fixed now.
+	 *
 	atf_tc_expect_fail("PR lib/52101");
+	 */
 
 	parsecheck("12:30 am", NULL, NULL, localtime_r,
 		ANY, ANY, ANY, 0, 30, 0);
@@ -203,6 +208,8 @@ ATF_TC_BODY(times, tc)
 		ANY, ANY, ANY, 0, 0, 0);
 	parsecheck("12pm", NULL, NULL, localtime_r,
 		ANY, ANY, ANY, 12, 0, 0);
+
+	/* end 52010 bug tests */
 }
 
 ATF_TC(dsttimes);

Reply via email to