projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.16.11: Partial fix for #318 & more incompatible changes
[sbcl.git]
/
tests
/
pathnames.impure.lisp
diff --git
a/tests/pathnames.impure.lisp
b/tests/pathnames.impure.lisp
index
a58c08e
..
b9a416e
100644
(file)
--- a/
tests/pathnames.impure.lisp
+++ b/
tests/pathnames.impure.lisp
@@
-309,6
+309,7
@@
(parse-namestring "SCRATCH:FOO.TXT.NEWEST")
(parse-namestring "SCRATCH:FOO.TXT"))))
(dolist (p pathnames)
(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)))
(handler-case
(let ((*print-readably* t))
(assert (equal (read-from-string (format nil "~S" p)) p)))
@@
-331,5
+332,9
@@
(when (probe-file test)
(delete-file test))))
\f
(when (probe-file test)
(delete-file test))))
\f
+;;; ENOUGH-NAMESTRING should probably not fail when the namestring in
+;;; question has a :RELATIVE pathname.
+(assert (equal (enough-namestring #p"foo" #p"./") "foo"))
+
;;;; success
(quit :unix-status 104)
;;;; success
(quit :unix-status 104)