Skip to content
Snippets Groups Projects
Commit 1b3ffe22 authored by pfdietz's avatar pfdietz
Browse files

More tests, including those of LPNs.

parent 1235074c
No related branches found
No related tags found
No related merge requests found
......@@ -158,14 +158,14 @@
;;;
(deftest wild-pathname-p.27
(loop for p in *pathnames*
(loop for p in (append *pathnames* *logical-pathnames*)
unless (if (wild-pathname-p p) (wild-pathname-p p nil)
(not (wild-pathname-p p nil)))
collect p)
nil)
(deftest wild-pathname-p.28
(loop for p in *pathnames*
(loop for p in (append *pathnames* *logical-pathnames*)
when (and (loop for key in '(:host :device :directory
:name :type :version)
thereis (wild-pathname-p p key))
......@@ -173,6 +173,31 @@
collect p)
nil)
;;; On streams associated with files
(deftest wild-pathname-p.29
(with-open-file (s "foo.lsp"
:direction :output
:if-exists :append
:if-does-not-exist :create)
(wild-pathname-p s))
nil)
(deftest wild-pathname-p.30
(let ((s (open "foo.lsp"
:direction :output
:if-exists :append
:if-does-not-exist :create)))
(close s)
(wild-pathname-p s))
nil)
;;; logical pathname designators
(deftest wild-pathname-p.31
(wild-pathname-p "CLTEST:FOO.LISP")
nil)
;;;
(deftest wild-pathname-p.error.1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment