X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Ffilesys.test.sh;h=28f39351846903e348b2d1e5ae2f3021da4df0d7;hb=b767eae48831153473226b985511c8f7a3ef98c5;hp=62f900a915055fabee85b39169b703697a874add;hpb=c1aeac123df223746249567a9c0d2f656d1222cb;p=sbcl.git diff --git a/tests/filesys.test.sh b/tests/filesys.test.sh index 62f900a..28f3935 100644 --- a/tests/filesys.test.sh +++ b/tests/filesys.test.sh @@ -86,6 +86,8 @@ mkdir animal/vertebrate/mammal/bear mkdir animal/vertebrate/mammal/mythical mkdir animal/vertebrate/mammal/rodent mkdir animal/vertebrate/mammal/ruminant +touch animal/vertebrate/mammal/platypus +touch animal/vertebrate/mammal/walrus touch animal/vertebrate/mammal/bear/grizzly touch animal/vertebrate/mammal/mythical/mermaid touch animal/vertebrate/mammal/mythical/unicorn @@ -143,10 +145,8 @@ Lisp filename syntax idiosyncrasies)." ;; "/usr/bin" instead of the CMU-CL-style "/usr/bin/". In that case, ;; s:/":": in most or all the NEED-MATCHes here. (need-match "./*.*" '("animal/" "dirt" "plant/" "water")) - ;; FIXME: (DIRECTORY "*.*") doesn't work (bug 139). And it looks as - ;; though the same problem affects (DIRECTORY "animal") too. - #+nil (need-match "*.*" '("animal/" "dirt" "plant/" "water")) - #+nil (need-match "animal" '("animal/")) + (need-match "*.*" '("animal/" "dirt" "plant/" "water")) + (need-match "animal" '("animal/")) (need-match "./animal" '("animal/")) (need-match "animal/*.*" '("animal/invertebrate/" "animal/vertebrate/")) (need-match "animal/*/*.*" @@ -173,16 +173,10 @@ Lisp filename syntax idiosyncrasies)." "mammal/walrus" "snake/" "snake/python")))) (need-match "animal/vertebrate/**/*.*" vertebrates) - ;; FIXME: In sbcl-0.pre7.109, DIRECTORY got confused on (I think...) - ;; absolute pathnames containing "../*" stuff. If I understood - ;; and remember correctly, CR's patch will fix this. - #| (need-match "animal/vertebrate/mammal/../**/*.*" vertebrates) (need-match "animal/vertebrate/mammal/../**/**/*.*" vertebrates) (need-match "animal/vertebrate/mammal/mythical/../**/../**/*.*" - vertebrates) - |# - ) + vertebrates)) (need-match "animal/vertebrate/**/robot.*" nil) (need-match "animal/vertebrate/mammal/../**/*.robot" nil) (need-match "animal/vertebrate/mammal/../**/robot/*.*" nil)