X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fpathnames.impure.lisp;h=bb23ae0f1adc67b51960fc33caccb9e6ba982ab0;hb=9b55754d5328a5f44ee224d32865fc8dadee123b;hp=b00b1f9a8cec4964f5eb257930ca049d174a86ef;hpb=d1287b8413141509ca384971f615dde98979583e;p=sbcl.git diff --git a/tests/pathnames.impure.lisp b/tests/pathnames.impure.lisp index b00b1f9..bb23ae0 100644 --- a/tests/pathnames.impure.lisp +++ b/tests/pathnames.impure.lisp @@ -309,13 +309,14 @@ (parse-namestring "SCRATCH:FOO.TXT.NEWEST") (parse-namestring "SCRATCH:FOO.TXT")))) (dolist (p pathnames) + (print p) (handler-case (let ((*print-readably* t)) (assert (equal (read-from-string (format nil "~S" p)) p))) (print-not-readable () nil)))) -;;; BUG 330: "PARSE-NAMESTRING should accept namestrings as the default argument" -;;; ...and streams as well +;;; BUG 330: "PARSE-NAMESTRING should accept namestrings as the +;;; default argument" ...and streams as well (assert (equal (parse-namestring "foo" nil "/") (parse-namestring "foo" nil #P"/"))) (let ((test "parse-namestring-test.tmp")) @@ -334,6 +335,9 @@ ;;; ENOUGH-NAMESTRING should probably not fail when the namestring in ;;; question has a :RELATIVE pathname. (assert (equal (enough-namestring #p"foo" #p"./") "foo")) - + +;;; bug reported by Artem V. Andreev: :WILD not handled in unparsing +;;; directory lists. +(assert (equal (namestring #p"/tmp/*/") "/tmp/*/")) ;;;; success (quit :unix-status 104)