X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fpackages.impure.lisp;h=db5c3b2aae565e0306cdab9615b514c040c50f5f;hb=b2b5fc7797a2c34d904e2a6e25d9ff357d915ac6;hp=7e912ada2f9672643be9f26599068f519999ad31;hpb=e24fdd1832a9d4fd12347387437bbae225d22ef2;p=sbcl.git diff --git a/tests/packages.impure.lisp b/tests/packages.impure.lisp index 7e912ad..db5c3b2 100644 --- a/tests/packages.impure.lisp +++ b/tests/packages.impure.lisp @@ -17,6 +17,11 @@ (assert (eq *foo* (find-package ""))) (assert (delete-package "")) +(make-package "BAR") +(defvar *baz* (rename-package "BAR" "BAZ")) +(assert (eq *baz* (find-package "BAZ"))) +(assert (delete-package *baz*)) + (handler-case (export :foo) (package-error (c) (princ c)) @@ -248,7 +253,7 @@ if a restart was invoked." ;;; Make sure that resolving a name-conflict in IMPORT doesn't leave ;;; multiple symbols of the same name in the package (this particular ;;; scenario found in 1.0.38.9, but clearly a longstanding issue). -(with-test (:name import-conflict-resolution :fails-on :sbcl) +(with-test (:name import-conflict-resolution) (with-packages (("FOO" (:export "NIL")) ("BAR" (:use))) (with-name-conflict-resolution ((sym "FOO" "NIL"))