diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-12-25 18:49:58 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-12-25 18:49:58 +0000 |
commit | 04c7e5ba15176d9df8d9c68911cd60e39417b4e8 (patch) | |
tree | 250a85414235bcb73740c6ec8d5c67dca53c6acc | |
parent | f5ed6cfbe9243478083b3bb09f752e09bb2ed562 (diff) |
Test a large negative malloc value as well.
-rw-r--r-- | regress/lib/libc/malloc/malloc_errno/malloc_errno.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libc/malloc/malloc_errno/malloc_errno.c b/regress/lib/libc/malloc/malloc_errno/malloc_errno.c index 7f77544665b..896ea3c9004 100644 --- a/regress/lib/libc/malloc/malloc_errno/malloc_errno.c +++ b/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; |