adjust the new MALLOC-FAILURE test for 32-bit builds
[sbcl.git] / tests / alien.impure.lisp
index b490961..cf708ef 100644 (file)
 (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)))))