X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fpathnames.impure.lisp;h=845d70fd05c16e2d2cc8f4b60d4a5d226e3dcd1b;hb=5ec5d0e068ab2b6435e0c841d686a95dbd58cbc4;hp=e6b5d1049e3ebcf1c5b5a41282252fa4acce95d5;hpb=58806bb0d72678f9068646819be2e4009a7a816c;p=sbcl.git diff --git a/tests/pathnames.impure.lisp b/tests/pathnames.impure.lisp index e6b5d10..845d70f 100644 --- a/tests/pathnames.impure.lisp +++ b/tests/pathnames.impure.lisp @@ -400,5 +400,12 @@ (assert (eq :false (if (ignore-errors (merge-pathnames sb-sys::*tty*)) :true :false))) +;;; This used to return "quux/bar.lisp" +(assert (equal #p"quux/bar.fasl" + (let ((*default-pathname-defaults* #p"quux/")) + (compile-file-pathname "foo.lisp" :output-file "bar")))) +(assert (equal #p"quux/bar.fasl" + (let ((*default-pathname-defaults* #p"quux/")) + (compile-file-pathname "bar.lisp")))) ;;;; success