X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Ffilesys.pure.lisp;h=a08e1341dd26a84cbef5a954aed72e509e24b5a4;hb=df2d632ead05d542d3cdd2d8d162060ee586c151;hp=f6ac941d9714948691cfd8d3b77c3a4ea165f42c;hpb=a647f35a48924c9bc1914e1286418309fc69704e;p=sbcl.git diff --git a/tests/filesys.pure.lisp b/tests/filesys.pure.lisp index f6ac941..a08e134 100644 --- a/tests/filesys.pure.lisp +++ b/tests/filesys.pure.lisp @@ -93,6 +93,15 @@ (assert (equal "C:\\FOO\\BAR" (native-namestring "C:\\FOO\\BAR"))) (assert (equal "C:\\FOO\\BAR" (native-namestring "C:\\FOO\\BAR\\" :as-file t)))) +(with-test (:name (:parse-native-pathname :as-directory :junk-allowed)) + (assert + (equal + (parse-native-namestring "foo.lisp" nil *default-pathname-defaults* + :as-directory t) + (parse-native-namestring "foo.lisp" nil *default-pathname-defaults* + :as-directory t + :junk-allowed t)))) + ;;; Test for NATIVE-PATHNAME / NATIVE-NAMESTRING stuff ;;; ;;; given only safe characters in the namestring, NATIVE-PATHNAME will