projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a regression in sb-safepoint.
[sbcl.git]
/
tests
/
smoke.impure.lisp
diff --git
a/tests/smoke.impure.lisp
b/tests/smoke.impure.lisp
index
a627d06
..
f0069a7
100644
(file)
--- a/
tests/smoke.impure.lisp
+++ b/
tests/smoke.impure.lisp
@@
-7,7
+7,7
@@
;;;; While most of SBCL is derived from the CMU CL system, the test
;;;; files (like this one) were written from scratch after the fork
;;;; from CMU CL.
;;;; While most of SBCL is derived from the CMU CL system, the test
;;;; files (like this one) were written from scratch after the fork
;;;; from CMU CL.
-;;;;
+;;;;
;;;; This software is in the public domain and is provided with
;;;; absolutely no warranty. See the COPYING and CREDITS files for
;;;; more information.
;;;; This software is in the public domain and is provided with
;;;; absolutely no warranty. See the COPYING and CREDITS files for
;;;; more information.
@@
-31,7
+31,6
@@
(assert (typep (in-package :cl-user) 'package))
;;; PROFILE should run without obvious breakage
(assert (typep (in-package :cl-user) 'package))
;;; PROFILE should run without obvious breakage
-#-darwin
(progn
(defun profiled-fun ()
(random 1d0))
(progn
(defun profiled-fun ()
(random 1d0))
@@
-52,12
+51,12
@@
(assert (= (oidentity +const+) 1))
(handler-bind
((sb-ext:defconstant-uneql
(assert (= (oidentity +const+) 1))
(handler-bind
((sb-ext:defconstant-uneql
- (lambda (c) (abort c))))
+ (lambda (c) (abort c))))
(defconstant +const+ 3))
(assert (= (oidentity +const+) 1))
(handler-bind
((sb-ext:defconstant-uneql
(defconstant +const+ 3))
(assert (= (oidentity +const+) 1))
(handler-bind
((sb-ext:defconstant-uneql
- (lambda (c) (continue c))))
+ (lambda (c) (continue c))))
(defconstant +const+ 3))
(assert (= (oidentity +const+) 3))
(defconstant +const+ 3))
(assert (= (oidentity +const+) 3))
@@
-73,5
+72,10
@@
(assert (equal (funcall fn 1) '(1)))
(assert (equal (funcall fn 1 2 3) '(1 2 3))))
(assert (equal (funcall fn 1) '(1)))
(assert (equal (funcall fn 1 2 3) '(1 2 3))))
+;;; 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
;;; success
-(quit :unix-status 104)