Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/stdlib Test case from PR/44189 should not fai...



details:   https://anonhg.NetBSD.org/src/rev/07eaff469855
branches:  trunk
changeset: 763513:07eaff469855
user:      njoly <njoly%NetBSD.org@localhost>
date:      Tue Mar 22 22:29:18 2011 +0000

description:
Test case from PR/44189 should not fail anymore.

diffstat:

 tests/lib/libc/stdlib/t_strtox.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 2af2d298cb3b -r 07eaff469855 tests/lib/libc/stdlib/t_strtox.c
--- a/tests/lib/libc/stdlib/t_strtox.c  Tue Mar 22 22:27:33 2011 +0000
+++ b/tests/lib/libc/stdlib/t_strtox.c  Tue Mar 22 22:29:18 2011 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index