From 6ce8ea96efa17acf7e15c5870d98374d2f856447 Mon Sep 17 00:00:00 2001 From: miod <> Date: Thu, 25 Dec 2003 18:49:57 +0000 Subject: Test a large negative malloc value as well. --- src/regress/lib/libc/malloc/malloc_errno/malloc_errno.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/regress/lib/libc/malloc/malloc_errno/malloc_errno.c b/src/regress/lib/libc/malloc/malloc_errno/malloc_errno.c index 7f77544665..896ea3c900 100644 --- a/src/regress/lib/libc/malloc/malloc_errno/malloc_errno.c +++ b/src/regress/lib/libc/malloc/malloc_errno/malloc_errno.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malloc_errno.c,v 1.3 2003/08/15 23:13:07 deraadt Exp $ */ +/* $OpenBSD: malloc_errno.c,v 1.4 2003/12/25 18:49:57 miod Exp $ */ /* * Public domain. 2003, Otto Moerbeek */ @@ -39,6 +39,7 @@ main(int argc, char *argv[]) testerrno(-1); testerrno(-1000); testerrno(-10000); + testerrno(-10000000); for (i = 0; i < 0x10; i++) testerrno(i * 0x10000000); return 0; -- cgit v1.2.3-55-g6feb