Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libm And finally, fix boolean logic in the previous.
details: https://anonhg.NetBSD.org/src/rev/6f2922e9a9a8
branches: trunk
changeset: 777969:6f2922e9a9a8
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sun Mar 11 06:36:05 2012 +0000
description:
And finally, fix boolean logic in the previous.
diffstat:
tests/lib/libm/t_atan.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 68d015151531 -r 6f2922e9a9a8 tests/lib/libm/t_atan.c
--- a/tests/lib/libm/t_atan.c Sun Mar 11 06:32:53 2012 +0000
+++ b/tests/lib/libm/t_atan.c Sun Mar 11 06:36:05 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_atan.c,v 1.5 2012/03/11 06:32:53 jruoho Exp $ */
+/* $NetBSD: t_atan.c,v 1.6 2012/03/11 06:36:05 jruoho Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
const double eps = 1.0e-40;
if (strcmp(atf_config_get("atf_arch"), "i386") == 0 &&
- system("cpuctl identify 0 | grep -q QEMU") == 0)
+ system("cpuctl identify 0 | grep -q QEMU") != 0)
atf_tc_expect_fail("PR port-i386/46108");
if (fabs(atan(x) + M_PI_2) > eps)
@@ -88,7 +88,7 @@
const double eps = 1.0e-40;
if (strcmp(atf_config_get("atf_arch"), "i386") == 0 &&
- system("cpuctl identify 0 | grep -q QEMU") == 0)
+ system("cpuctl identify 0 | grep -q QEMU") != 0)
atf_tc_expect_fail("PR port-i386/46108");
if (fabs(atan(x) - M_PI_2) > eps)
@@ -111,7 +111,7 @@
size_t i;
if (strcmp(atf_config_get("atf_arch"), "i386") == 0 &&
- system("cpuctl identify 0 | grep -q QEMU") == 0)
+ system("cpuctl identify 0 | grep -q QEMU") != 0)
atf_tc_expect_fail("PR port-i386/46108");
for (i = 0; i < __arraycount(x); i++) {
Home |
Main Index |
Thread Index |
Old Index