fix a test that relied on the current input port as not-ready

This commit is contained in:
Matthew Flatt 2014-07-16 11:37:34 +01:00
parent 68c43a3db9
commit 83a203c461

View File

@ -607,11 +607,12 @@
;; never get an answe back from this depth:
(define overflow-depth 40000)
(read-byte i)
(set! nacks null)
(define t
(thread (lambda ()
(with-handlers ([exn:break? void])
(sync (deep #t (current-input-port) overflow-depth))))))
(sync (deep #t i overflow-depth))))))
(sync (system-idle-evt))
(test #f sync/timeout 0 t)