Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libm Fix wrong error failure message.



details:   https://anonhg.NetBSD.org/src/rev/4025f5d68147
branches:  trunk
changeset: 773686:4025f5d68147
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Mon Feb 13 05:09:01 2012 +0000

description:
Fix wrong error failure message.

diffstat:

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

diffs (27 lines):

diff -r c176f16045fb -r 4025f5d68147 tests/lib/libm/t_sqrt.c
--- a/tests/lib/libm/t_sqrt.c   Mon Feb 13 04:48:21 2012 +0000
+++ b/tests/lib/libm/t_sqrt.c   Mon Feb 13 05:09:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_sqrt.c,v 1.2 2011/11/19 12:46:41 mlelstv Exp $ */
+/* $NetBSD: t_sqrt.c,v 1.3 2012/02/13 05:09:01 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_sqrt.c,v 1.2 2011/11/19 12:46:41 mlelstv Exp $");
+__RCSID("$NetBSD: t_sqrt.c,v 1.3 2012/02/13 05:09:01 jruoho Exp $");
 
 #include <atf-c.h>
 #include <math.h>
@@ -75,7 +75,7 @@
 
                if (fabs(y - z) > eps)
                        atf_tc_fail_nonfatal("sqrt(%0.03f) != "
-                           "pow(%0.03f, 1/3)\n", x[i], x[i]);
+                           "pow(%0.03f, 1/2)\n", x[i], x[i]);
        }
 #endif
 }



Home | Main Index | Thread Index | Old Index