Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/72822b7ff25409573479f29f43118f0036c7aff7

>---------------------------------------------------------------

commit 72822b7ff25409573479f29f43118f0036c7aff7
Author: Ian Lynagh <[email protected]>
Date:   Wed May 25 18:00:47 2011 +0100

    Fix 3307 and environment001
    
    We were piping something into the programs, but the programs didn't
    read stdin, so we were getting broken pipe errors.

>---------------------------------------------------------------

 tests/ghc-regress/lib/IO/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/ghc-regress/lib/IO/Makefile 
b/tests/ghc-regress/lib/IO/Makefile
index c5f4f03..548b3c5 100644
--- a/tests/ghc-regress/lib/IO/Makefile
+++ b/tests/ghc-regress/lib/IO/Makefile
@@ -37,7 +37,7 @@ hSetEncoding001.in : latin1 utf8-test utf16le-test 
utf16be-test utf16-test utf32
 
 environment001-test:
        "$(TEST_HC)" --make -fforce-recomp -v0 environment001.hs -o 
environment001 
-       (sleep 1; echo x) | GHC_TEST=马克斯 ./environment001 说
+       GHC_TEST=马克斯 ./environment001 说
 
 3307-test:
        "$(TEST_HC)" --make -fforce-recomp -v0 3307.hs -o 3307
@@ -45,4 +45,4 @@ environment001-test:
        echo chinese-file-小说 > chinese-name
        # The tests are run in a UTF-8 locale. We would test another one
        # (like Big5) but GHC developers probably won't have it on their 
machines.
-       (sleep 1; echo x) | ./3307 chinese-file-小说
+       ./3307 chinese-file-小说



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to