X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fload.impure.lisp;h=fb7b9c91f11921e2d3ac5b20d2c10728dd5ba173;hb=1714224f33ba559eab11af8827a78f9a5aebd698;hp=f0d45243029e1e1a9ef4d499dcb5934de4c523b9;hpb=8d60dc276cfcdb896e36b82160ad8c2065736f90;p=sbcl.git diff --git a/tests/load.impure.lisp b/tests/load.impure.lisp index f0d4524..fb7b9c9 100644 --- a/tests/load.impure.lisp +++ b/tests/load.impure.lisp @@ -53,4 +53,19 @@ (when tmp-fasl (delete-file tmp-fasl)) (delete-file *tmp-filename*)))) +;;; As reported by David Tolpin *LOAD-PATHNAME* was not merged. +(progn + (defvar *saved-load-pathname*) + (with-open-file (s *tmp-filename* + :direction :output + :if-exists :supersede + :if-does-not-exist :create) + (print '(setq *saved-load-pathname* *load-pathname*) s)) + (let (tmp-fasl) + (unwind-protect + (progn + (load *tmp-filename*) + (assert (equal (merge-pathnames *tmp-filename*) *saved-load-pathname*))) + (delete-file *tmp-filename*)))) + (quit :unix-status 104)