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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/fbe52c3329b3393296a1149206c8c673a7ab5181

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

commit fbe52c3329b3393296a1149206c8c673a7ab5181
Author: Ian Lynagh <[email protected]>
Date:   Thu Jun 23 15:04:24 2011 +0100

    Semi-fix 4006 on msys
    
    We were getting:
    4006.exe: echo: createProcess: does not exist (No such file or directory)
    so now we use "printf" instead of "echo".

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

 tests/ghc-regress/lib/should_run/4006.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/ghc-regress/lib/should_run/4006.hs 
b/tests/ghc-regress/lib/should_run/4006.hs
index ea5c1ac..662b0f6 100644
--- a/tests/ghc-regress/lib/should_run/4006.hs
+++ b/tests/ghc-regress/lib/should_run/4006.hs
@@ -1,7 +1,7 @@
 import System.Process
 
 testUnicode :: String -> IO String
-testUnicode str = init `fmap` (readProcess "echo" [str] "")
+testUnicode str = readProcess "printf" ["%s", str] ""
 
 main = do
     testUnicode "It works here" >>= putStrLn



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

Reply via email to