summaryrefslogtreecommitdiff
path: root/tests/lib/libc/stdlib
diff options
context:
space:
mode:
authorjruoho <jruoho@NetBSD.org>2011-04-12 02:52:20 +0000
committerjruoho <jruoho@NetBSD.org>2011-04-12 02:52:20 +0000
commit6ae3e40f2f996600a452e49ea841c2aaf57f2e4b (patch)
treeb17d0cc14f8a774d7a844ae8d795083368826f86 /tests/lib/libc/stdlib
parent7c5a64d61b360e74012ab26d01e294c9f46d4ea8 (diff)
PR lib/33262 should be fixed; remove expected failure.
Diffstat (limited to 'tests/lib/libc/stdlib')
-rw-r--r--tests/lib/libc/stdlib/t_strtod.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/lib/libc/stdlib/t_strtod.c b/tests/lib/libc/stdlib/t_strtod.c
index 53d8b74c391..45b2d1d27f3 100644
--- a/tests/lib/libc/stdlib/t_strtod.c
+++ b/tests/lib/libc/stdlib/t_strtod.c
@@ -1,4 +1,4 @@
-/* $NetBSD: t_strtod.c,v 1.5 2011/04/10 10:23:45 jruoho Exp $ */
+/* $NetBSD: t_strtod.c,v 1.6 2011/04/12 02:52:20 jruoho Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
/* Public domain, Otto Moerbeek <otto@drijf.net>, 2006. */
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_strtod.c,v 1.5 2011/04/10 10:23:45 jruoho Exp $");
+__RCSID("$NetBSD: t_strtod.c,v 1.6 2011/04/12 02:52:20 jruoho Exp $");
#include <errno.h>
#include <math.h>
@@ -106,19 +106,10 @@ ATF_TC_BODY(strtod_inf, tc)
{
#ifndef __vax__
- const char *m_arch;
long double ld;
double d;
float f;
- m_arch = atf_config_get("atf_arch");
-
- if (strcmp(m_arch, "x86_64") == 0)
- atf_tc_expect_fail("PR lib/33262");
-
- if (system("cpuctl identify 0 | grep -q QEMU") == 0)
- atf_tc_expect_fail("PR lib/33262");
-
d = strtod("INF", NULL);
ATF_REQUIRE(isinf(d) != 0);