git.iko.soy/typeable/pandoc
on master help sign in
No longer need to set 'HOME' in RunTests.hs.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1843 788f1e2b-df1e-0410-8736-df70ead52e1b

commitb165e4c50cdc71e639d634f2a8c3ab2c53a13112 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 21 Feb 2010, 16:47 (17 years ago) parent40ea955
1 file changed+1−2
tests/RunTests.hs+1−2
tests/RunTests.hs+1−2
@@ -152,9 +152,8 @@ runTest testname opts inp norm = do
152152 let inpPath = inp
153153 let normPath = norm
154154 hFlush stdout
155− env <- getEnvironment -- we need at least HOME so pandoc can find data files
156155 -- Note: COLUMNS must be set for markdown table reader
157− ph <- runProcess pandocPath (opts ++ [inpPath] ++ ["--data-dir", ".."]) Nothing (Just (("COLUMNS", "80"):env)) Nothing (Just hOut) (Just stderr)
156+ ph <- runProcess pandocPath (opts ++ [inpPath] ++ ["--data-dir", ".."]) Nothing (Just [("COLUMNS", "80")]) Nothing (Just hOut) (Just stderr)
158157 ec <- waitForProcess ph
159158 result <- if ec == ExitSuccess
160159 then do