Module Name: src
Committed By: jruoho
Date: Tue Apr 12 03:06:21 UTC 2011
Modified Files:
src/tests/lib/libm: t_log.c
Log Message:
PR lib/41931 should be fixed; remove expected failure.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libm/t_log.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/libm/t_log.c
diff -u src/tests/lib/libm/t_log.c:1.1 src/tests/lib/libm/t_log.c:1.2
--- src/tests/lib/libm/t_log.c:1.1 Sun Apr 10 06:11:47 2011
+++ src/tests/lib/libm/t_log.c Tue Apr 12 03:06:21 2011
@@ -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);