From 3b469f3ce91411bfb25a05bc4f3ea0cec3f1203b Mon Sep 17 00:00:00 2001 From: jruoho Date: Tue, 14 Jun 2011 02:45:58 +0000 Subject: [PATCH] Remove the cases that cause integer overflow on e.g. i386. --- tests/lib/libc/stdlib/t_strtol.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/lib/libc/stdlib/t_strtol.c b/tests/lib/libc/stdlib/t_strtol.c index 79a949f99b5e..5a0c6d0e51ea 100644 --- a/tests/lib/libc/stdlib/t_strtol.c +++ b/tests/lib/libc/stdlib/t_strtol.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_strtol.c,v 1.4 2011/06/08 05:31:43 jruoho Exp $ */ +/* $NetBSD: t_strtol.c,v 1.5 2011/06/14 02:45:58 jruoho Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__RCSID("$NetBSD: t_strtol.c,v 1.4 2011/06/08 05:31:43 jruoho Exp $"); +__RCSID("$NetBSD: t_strtol.c,v 1.5 2011/06/14 02:45:58 jruoho Exp $"); #include #include @@ -92,8 +92,6 @@ ATF_TC_BODY(strtol_base, tc) { "123456789", 342391, 8, NULL }, { "0123456789", 342391, 0, NULL }, { "0123456789", 123456789, 10, NULL }, - { "0123456789", 0x123456789, 16, NULL }, - { "0x123456789", 0x123456789, 0, NULL }, { "0x75bcd15", 123456789, 0, NULL }, };