X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fsmoke.impure.lisp;h=f0069a713c051fa1b376fd78780ac93fba6d0c0a;hb=a189a69454ef7635149319ae213b337f17c50d20;hp=716766c3bb0e634ba9d6c3208f4e0a2fc91a54a6;hpb=f00011f3aa9647d51c87c6f969d0b2b0094aecf2;p=sbcl.git diff --git a/tests/smoke.impure.lisp b/tests/smoke.impure.lisp index 716766c..f0069a7 100644 --- a/tests/smoke.impure.lisp +++ b/tests/smoke.impure.lisp @@ -72,10 +72,10 @@ (assert (equal (funcall fn 1) '(1))) (assert (equal (funcall fn 1 2 3) '(1 2 3)))) -;; ROOM used to bail out when there were object with bignum bytes in -;; them. Test by Sidney Markowitz. -(defparameter *large-array* - (make-array (- (truncate most-positive-fixnum 4) 2))) -(room) +;;; Failure to save a core is an error +(with-test (:name :save-lisp-and-die-error) + (assert (eq :oops + (handler-case (save-lisp-and-die "/") + (error () :oops))))) ;;; success