fix SECTION case, sort directory-list results

svn: r3210
This commit is contained in:
Matthew Flatt 2006-06-04 01:50:09 +00:00
parent acb08c5e62
commit c1f4dce5d8
2 changed files with 8 additions and 4 deletions

View File

@ -2,7 +2,7 @@
(require (lib "boundmap.ss" "syntax"))
(section 'BOUNDMAP)
(SECTION 'BOUNDMAP)
(test #t bound-identifier-mapping? (make-bound-identifier-mapping))

View File

@ -4,7 +4,8 @@
(SECTION 'file)
(require (lib "file.ss")
(lib "process.ss"))
(lib "process.ss")
(lib "list.ss"))
(parameterize ([current-directory (current-load-relative-directory)])
(let ([rel (find-files values)]
@ -24,8 +25,11 @@
'file
'dir))
(cons name accum))
null)])
(test #t equal? rel rel2)
null)]
[sort (lambda (l)
(sort l (lambda (a b)
(bytes<? (path->bytes a) (path->bytes b)))))])
(test #t equal? (sort rel) (sort rel2))
(when (eq? (system-type) 'unix)
(system "ln -s filelib.ss filelib-link.ss")