X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fstream.pure.lisp;h=b059537673d928ab95973c4b21e7b4ec78b79979;hb=0e03a9ac950b78d776c4869c809e202d9e929f39;hp=bd2f07129b5c6772558267766e934b784ab26be1;hpb=550f09b2bbea9495931a9e964dfeea5ca7d38aff;p=sbcl.git diff --git a/tests/stream.pure.lisp b/tests/stream.pure.lisp index bd2f071..b059537 100644 --- a/tests/stream.pure.lisp +++ b/tests/stream.pure.lisp @@ -261,7 +261,7 @@ (frob 'base-char) (frob 'nil)) -(with-open-file (s "/dev/null" :element-type '(signed-byte 48)) +(with-open-file (s #-win32 "/dev/null" #+win32 "nul" :element-type '(signed-byte 48)) (assert (eq :eof (read-byte s nil :eof)))) (let* ((is (make-string-input-stream "foo")) @@ -292,7 +292,7 @@ (assert (string= (get-output-stream-string os) "foo"))) (with-standard-io-syntax - (open "/dev/null")) + (open #-win32 "/dev/null" #+win32 "nul" )) ;;; PEEK-CHAR T uses whitespace[2] (let ((*readtable* (copy-readtable)))