* Typo. File author should return the author, not the file write-date.
Spotted by Damien Diederen. Add test for same.
"Return the author of the file specified by PATHSPEC. Signal an
error of type FILE-ERROR if no such file exists, or if PATHSPEC
is a wild pathname."
- (query-file-system pathspec :write-date t))
+ (query-file-system pathspec :author t))
(defun file-write-date (pathspec)
#!+sb-doc
(let ((*default-pathname-defaults* (pathname "SYS:")))
(assert (not (typep (sb-impl::sbcl-homedir-pathname)
'logical-pathname)))))
+
+(with-test (:name :file-author-stringp)
+ (assert (stringp (file-author (user-homedir-pathname)))))
+(with-test (:name :file-write-date-integerp)
+ (assert (integerp (file-write-date (user-homedir-pathname)))))
+
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.13.15"
+"1.0.13.16"