From 0d644e97558a754ffe1f1250925b31e85ace79af Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 3 Jun 2014 09:22:38 +0100 Subject: [PATCH] racket/sandbox: fix `with-deep-time-limit` test The test has been failing consistently in DrDr, but I couldn't figure out why until I learned that DrDr runs programs with an empty stdin. It helps that `raco test --drdr` is now closer to DrDr. --- pkgs/racket-pkgs/racket-test/tests/racket/sandbox.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/racket-pkgs/racket-test/tests/racket/sandbox.rkt b/pkgs/racket-pkgs/racket-test/tests/racket/sandbox.rkt index 09a511ace8..d36947eaa9 100644 --- a/pkgs/racket-pkgs/racket-test/tests/racket/sandbox.rkt +++ b/pkgs/racket-pkgs/racket-test/tests/racket/sandbox.rkt @@ -32,7 +32,7 @@ (with-deep-time-limit n (subprocess (current-output-port) - (current-input-port) + #f ; because (current-input-port) = /dev/null in DrDr mode (current-error-port) (find-executable-path "cat"))))) (check-exn