Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/711f42425bb7eb64008b90d56c7cb22b09a18ddf >--------------------------------------------------------------- commit 711f42425bb7eb64008b90d56c7cb22b09a18ddf Author: Ian Lynagh <ig...@earth.li> Date: Sat Nov 10 01:09:06 2012 +0000 Fix ghci058 on Windows >--------------------------------------------------------------- tests/ghci/scripts/ghci058.script | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/ghci/scripts/ghci058.script b/tests/ghci/scripts/ghci058.script index 9999989..03d7a30 100644 --- a/tests/ghci/scripts/ghci058.script +++ b/tests/ghci/scripts/ghci058.script @@ -1,14 +1,17 @@ +:l ../shell.hs +:def shell (\s -> do shell s; return "") + :set prompt "" :set -v1 -:! echo "module Ghci058 where c = 'a'" > Ghci058.hs -:! "$HC" $HC_OPTS -fforce-recomp -c Ghci058.hs +:shell echo "module Ghci058 where c = 'a'" > Ghci058.hs +:shell "$HC" $HC_OPTS -fforce-recomp -c Ghci058.hs :l Ghci058 c -:! echo "module Ghci058 where c = 'b'" > Ghci058.hs -:! "$HC" $HC_OPTS -fforce-recomp -c Ghci058.hs +:shell echo "module Ghci058 where c = 'b'" > Ghci058.hs +:shell "$HC" $HC_OPTS -fforce-recomp -c Ghci058.hs :l Ghci058 c _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc