Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libm PR lib/41931 should be fixed; remove expected...



details:   https://anonhg.NetBSD.org/src/rev/0084cc5d9583
branches:  trunk
changeset: 764132:0084cc5d9583
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Tue Apr 12 03:06:21 2011 +0000

description:
PR lib/41931 should be fixed; remove expected failure.

diffstat:

 tests/lib/libm/t_log.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r fb8e12c2ca2d -r 0084cc5d9583 tests/lib/libm/t_log.c
--- a/tests/lib/libm/t_log.c    Tue Apr 12 02:56:20 2011 +0000
+++ b/tests/lib/libm/t_log.c    Tue Apr 12 03:06:21 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_log.c,v 1.1 2011/04/10 06:11:47 jruoho Exp $ */
+/* $NetBSD: t_log.c,v 1.2 2011/04/12 03:06:21 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_log.c,v 1.1 2011/04/10 06:11:47 jruoho Exp $");
+__RCSID("$NetBSD: t_log.c,v 1.2 2011/04/12 03:06:21 jruoho Exp $");
 
 #include <math.h>
 
@@ -51,10 +51,9 @@
        /*
         * If the argument is negative,
         * the result should be NaN and
-        * a domain error should follow
+        * a domain error should follow.
+        * Refer to the old PR lib/41931.
         */
-       atf_tc_expect_fail("PR lib/41931");
-
        d = log(-1);
        ATF_REQUIRE(isnan(d) != 0);
 



Home | Main Index | Thread Index | Old Index