summaryrefslogtreecommitdiff
path: root/tests/lib/libc/stdlib
diff options
context:
space:
mode:
authorjruoho <jruoho@NetBSD.org>2011-06-14 02:45:58 +0000
committerjruoho <jruoho@NetBSD.org>2011-06-14 02:45:58 +0000
commitefa4ea93a7b57cd8ec70df4fe06169b4918352e4 (patch)
tree3395dd37aa510b60ff37719e133ac79a64e651c3 /tests/lib/libc/stdlib
parent517baadba392bdc6429c9231d0d5da6313848f1e (diff)
Remove the cases that cause integer overflow on e.g. i386.
Diffstat (limited to 'tests/lib/libc/stdlib')
-rw-r--r--tests/lib/libc/stdlib/t_strtol.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/lib/libc/stdlib/t_strtol.c b/tests/lib/libc/stdlib/t_strtol.c
index 79a949f99b5..5a0c6d0e51e 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 <sys/cdefs.h>
-__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 <atf-c.h>
#include <errno.h>
@@ -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 },
};