Module Name: src Committed By: martin Date: Tue Jun 7 13:51:52 UTC 2011
Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Sparc64 does not fail the strtold_nan test, so don't expect failure there To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/tests/lib/libc/stdlib/t_strtod.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/libc/stdlib/t_strtod.c diff -u src/tests/lib/libc/stdlib/t_strtod.c:1.19 src/tests/lib/libc/stdlib/t_strtod.c:1.20 --- src/tests/lib/libc/stdlib/t_strtod.c:1.19 Sun Jun 5 16:33:51 2011 +++ src/tests/lib/libc/stdlib/t_strtod.c Tue Jun 7 13:51:52 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: t_strtod.c,v 1.19 2011/06/05 16:33:51 jruoho Exp $ */ +/* $NetBSD: t_strtod.c,v 1.20 2011/06/07 13:51:52 martin Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ /* Public domain, Otto Moerbeek <o...@drijf.net>, 2006. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_strtod.c,v 1.19 2011/06/05 16:33:51 jruoho Exp $"); +__RCSID("$NetBSD: t_strtod.c,v 1.20 2011/06/07 13:51:52 martin Exp $"); #include <errno.h> #include <math.h> @@ -225,7 +225,9 @@ # ifdef __HAVE_LONG_DOUBLE char *end; +#ifndef __sparc64__ atf_tc_expect_fail("PR lib/45020"); +#endif long double ld = strtold(nan_string, &end); ATF_REQUIRE(isnan(ld) != 0);