projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b46c75
)
adjust the new MALLOC-FAILURE test for 32-bit builds
author
Nikodemus Siivola
<nikodemus@random-state.net>
Mon, 5 Dec 2011 11:18:08 +0000
(13:18 +0200)
committer
Nikodemus Siivola
<nikodemus@random-state.net>
Mon, 5 Dec 2011 11:26:20 +0000
(13:26 +0200)
...where malloc of (1- array-total-size-limit) bytes may actually
succeed initially.
tests/alien.impure.lisp
patch
|
blob
|
history
diff --git
a/tests/alien.impure.lisp
b/tests/alien.impure.lisp
index
b490961
..
cf708ef
100644
(file)
--- a/
tests/alien.impure.lisp
+++ b/
tests/alien.impure.lisp
@@
-327,7
+327,8
@@
(with-test (:name :malloc-failure)
(assert (eq :enomem
(handler-case
- (sb-alien:make-alien char (1- array-total-size-limit))
+ (loop repeat 128
+ collect (sb-alien:make-alien char (1- array-total-size-limit)))
(storage-condition ()
:enomem)))))