[commit: process] master: Fix process010 on OS X (6cdeb1e)
Ian Lynagh
igloo at earth.li
Sun Jun 2 23:22:38 CEST 2013
Repository : ssh://darcs.haskell.org//srv/darcs/packages/process
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/6cdeb1e6b59f015f4e41f6fc393dd1165a8b0983
>---------------------------------------------------------------
commit 6cdeb1e6b59f015f4e41f6fc393dd1165a8b0983
Author: Ian Lynagh <ian at well-typed.com>
Date: Sun Jun 2 20:57:21 2013 +0100
Fix process010 on OS X
true and false aren't in /bin on OS X. Now we don't hardcode the path.
>---------------------------------------------------------------
tests/process010.hs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/process010.hs b/tests/process010.hs
index f5cf17a..ea188ee 100644
--- a/tests/process010.hs
+++ b/tests/process010.hs
@@ -3,8 +3,8 @@ import System.IO.Error
import System.Process
main :: IO ()
-main = do run "/bin/true"
- run "/bin/false"
+main = do run "true"
+ run "false"
run "/non/existent"
putStrLn "Done"
More information about the ghc-commits
mailing list