Windows: avoid Unix-specific test

This commit is contained in:
Matthew Flatt 2012-09-12 11:19:20 -06:00
parent 90dad98220
commit 906ddb7fbf

View File

@ -1532,7 +1532,7 @@
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Check that `in-directory' fails properly on filesystem errors
(let ()
(unless (eq? 'windows (system-type))
(define tmp (build-path (build-path (find-system-path 'temp-dir))
(format "in-dir-tmp-dir~a" (random 1000))))
(define sub (build-path tmp "sub"))