Raymond Toy pushed to branch issue-136-ansi-test-ensure-directories-exist.8 at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • tests/filesys.lisp
    ... ... @@ -10,7 +10,7 @@
    10 10
     
    
    11 11
     (define-test unix-namestring.1.exists
    
    12 12
       ;; Make sure the desired directories exist.
    
    13
    -  (assert-equal #P"/tmp/foo/bar/hello.txt"
    
    13
    +  (assert-equal "/tmp/foo/bar/hello.txt"
    
    14 14
     		(ensure-directories-exist "/tmp/foo/bar/hello.txt"))
    
    15 15
       (dolist (path '("/tmp/hello.txt"
    
    16 16
     		  "/tmp/foo/"
    
    ... ... @@ -27,7 +27,7 @@
    27 27
     
    
    28 28
     (define-test unix-namestring.1.non-existent
    
    29 29
       ;; Make sure the desired directories exist.
    
    30
    -  (assert-equal #P"/tmp/foo/bar/hello.txt"
    
    30
    +  (assert-equal "/tmp/foo/bar/hello.txt"
    
    31 31
     		(ensure-directories-exist "/tmp/foo/bar/hello.txt"))
    
    32 32
       ;; These paths contain directories that don't exist.
    
    33 33
       (dolist (path '("/tmp/oops/"
    
    ... ... @@ -42,7 +42,7 @@
    42 42
     
    
    43 43
     (define-test unix-namestring.2
    
    44 44
       ;; Make sure the desired directories exist.
    
    45
    -  (assert-equal #P"/tmp/foo/bar/hello.txt"
    
    45
    +  (assert-equal "/tmp/foo/bar/hello.txt"
    
    46 46
     		(ensure-directories-exist "/tmp/foo/bar/hello.txt"))
    
    47 47
       (unwind-protect
    
    48 48
            (progn