summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2015-03-15 07:26:28 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2015-03-15 07:26:28 +0000
commitec562c3b775f224182638fde2bf2902d0dbf586b (patch)
tree127a82a3341e7a762a53c740effd343da4e61e9b /regress/lib
parent741afbe21c60e1763b21849a6ede38cfdaf1f848 (diff)
fix for regression test for strtol(). it failed (the wrong kind of
fail), on 64-bit systems. tested on 64-bit (amd64) and 32-bit (sparc). OK claudio@ deraadt@
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libc/strtol/strtoltest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libc/strtol/strtoltest.c b/regress/lib/libc/strtol/strtoltest.c
index a90977a87d4..17b73340ad6 100644
--- a/regress/lib/libc/strtol/strtoltest.c
+++ b/regress/lib/libc/strtol/strtoltest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strtoltest.c,v 1.2 2014/09/19 12:32:08 schwarze Exp $ */
+/* $OpenBSD: strtoltest.c,v 1.3 2015/03/15 07:26:27 phessler Exp $ */
/*
* Copyright (c) 2012 Joel Sing <jsing@openbsd.org>
*
@@ -42,7 +42,7 @@ struct strtol_test strtol_tests[] = {
{"-080000000", -2147483648L, '\0', 16, 0},
{"deadbeefdeadbeef", LONG_MAX, '\0', 16, ERANGE},
{"deadzbeef", 57005L, 'z', 16, 0},
- {"-quitebig", LONG_MIN, '\0', 32, ERANGE},
+ {"-quitebigmchuge", LONG_MIN, '\0', 32, ERANGE},
{"zzz", 46655L, '\0', 36, 0},
{"1234567890", 0L, '1', 37, EINVAL},
{"1234567890", 0L, '1', 123, EINVAL},