1 ;;;; miscellaneous tests of pathname-related stuff
3 ;;;; This file is naturally impure because we mess with
4 ;;;; LOGICAL-PATHNAME-TRANSLATIONS.
6 ;;;; This software is part of the SBCL system. See the README file for
9 ;;;; While most of SBCL is derived from the CMU CL system, the test
10 ;;;; files (like this one) were written from scratch after the fork
13 ;;;; This software is in the public domain and is provided with
14 ;;;; absolutely no warranty. See the COPYING and CREDITS files for
15 ;;;; more information.
17 (in-package "CL-USER")
19 (setf (logical-pathname-translations "foo")
20 '(("REL;*.*.*" "/tmp/")
21 ("MAIL;**;*.MAIL" "/tmp/subdir/")
22 ("PROGGIES;*" "/tmp/")))
24 (assert (string= (format nil
26 (translate-logical-pathname "foo:proggies;save"))
29 (compile-file-pathname "foo:proggies;save")
32 (quit :unix-status 104)