[commit: ghc] master: Do not use a relative path for echo in tests/ghci/prog013. (3d27f69)

git at git.haskell.org git at git.haskell.org
Thu Oct 30 04:15:51 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/3d27f6975467ea05bc7e8aaf9e5a3c26d1cd20a6/ghc

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

commit 3d27f6975467ea05bc7e8aaf9e5a3c26d1cd20a6
Author: Gintautas Miliauskas <gintautas.miliauskas at gmail.com>
Date:   Wed Oct 29 23:14:38 2014 -0500

    Do not use a relative path for echo in tests/ghci/prog013.
    
    Trying to run /usr/bin/echo fails when running tests on Windows,
    but using plain "echo" works fine. I think it's fine to assume
    the environment is not doing anything particularly funny...
    
    Summary:
    ...with
    echo...
    
    Reviewers: austin
    
    Reviewed By: austin
    
    Subscribers: thomie, carter, simonmar, #ghc_windows_task_force
    
    Differential Revision: https://phabricator.haskell.org/D384


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

3d27f6975467ea05bc7e8aaf9e5a3c26d1cd20a6
 testsuite/tests/ghci/prog013/prog013.script | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/tests/ghci/prog013/prog013.script b/testsuite/tests/ghci/prog013/prog013.script
index b9df968..d4b91de 100644
--- a/testsuite/tests/ghci/prog013/prog013.script
+++ b/testsuite/tests/ghci/prog013/prog013.script
@@ -1,4 +1,4 @@
-:set editor /bin/echo
+:set editor echo
 :l Good.hs
 :e
 :l Bad.hs



More information about the ghc-commits mailing list