From b165e4c50cdc71e639d634f2a8c3ab2c53a13112 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sun, 21 Feb 2010 16:47:28 +0000 Subject: No longer need to set 'HOME' in RunTests.hs. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1843 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/RunTests.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/RunTests.hs b/tests/RunTests.hs index 635c0b8b0..6dc0d6e18 100644 --- a/tests/RunTests.hs +++ b/tests/RunTests.hs @@ -152,9 +152,8 @@ runTest testname opts inp norm = do let inpPath = inp let normPath = norm hFlush stdout - env <- getEnvironment -- we need at least HOME so pandoc can find data files -- Note: COLUMNS must be set for markdown table reader - ph <- runProcess pandocPath (opts ++ [inpPath] ++ ["--data-dir", ".."]) Nothing (Just (("COLUMNS", "80"):env)) Nothing (Just hOut) (Just stderr) + ph <- runProcess pandocPath (opts ++ [inpPath] ++ ["--data-dir", ".."]) Nothing (Just [("COLUMNS", "80")]) Nothing (Just hOut) (Just stderr) ec <- waitForProcess ph result <- if ec == ExitSuccess then do -- cgit v1.2.3