Module Name: src
Committed By: njoly
Date: Tue Mar 22 22:29:18 UTC 2011
Modified Files:
src/tests/lib/libc/stdlib: t_strtox.c
Log Message:
Test case from PR/44189 should not fail anymore.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/stdlib/t_strtox.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_strtox.c
diff -u src/tests/lib/libc/stdlib/t_strtox.c:1.2 src/tests/lib/libc/stdlib/t_strtox.c:1.3
--- src/tests/lib/libc/stdlib/t_strtox.c:1.2 Mon Dec 6 17:30:07 2010
+++ src/tests/lib/libc/stdlib/t_strtox.c Tue Mar 22 22:29:18 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_strtox.c,v 1.2 2010/12/06 17:30:07 pooka Exp $ */
+/* $NetBSD: t_strtox.c,v 1.3 2011/03/22 22:29:18 njoly Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_strtox.c,v 1.2 2010/12/06 17:30:07 pooka Exp $");
+__RCSID("$NetBSD: t_strtox.c,v 1.3 2011/03/22 22:29:18 njoly Exp $");
#include <atf-c.h>
#include <stdlib.h>
@@ -50,10 +50,8 @@
str = "-0x0";
ATF_REQUIRE(strtod(str, &end) == -0.0 && end == str+4);
- atf_tc_expect_fail("PR lib/44189");
str = "-0x";
ATF_REQUIRE(strtod(str, &end) == -0.0 && end == str+2);
- atf_tc_expect_pass();
}
ATF_TP_ADD_TCS(tp)