git.iko.soy/typeable/pandoc
on master help sign in
Tests.Old: Set TMP to ".".

Otherwise TMP is unset and, on Windows, C:\Windows is used by default, leading to permission violations.

commit93c35cbf148dff486c9ccc88c5e78cce55538ffd authorJohn MacFarlane <fiddlosopher@gmail.com> dateFri 21 Sep 2012, 20:34 (14 years ago) parentbec2577
1 file changed+1−1
tests/Tests/Old.hs+1−1
tests/Tests/Old.hs+1−1
@@ -212,7 +212,7 @@ testWithNormalize normalizer testname opts inp norm = testCase testname $ do
212212 let options = ["--data-dir", ".."] ++ [inpPath] ++ opts
213213 let cmd = pandocPath ++ " " ++ unwords options
214214 ph <- runProcess pandocPath options Nothing
215− (Just [("LANG","en_US.UTF-8"),("HOME", "./")]) Nothing (Just hOut)
215+ (Just [("TMP","."),("LANG","en_US.UTF-8"),("HOME", "./")]) Nothing (Just hOut)
216216 (Just stderr)
217217 ec <- waitForProcess ph
218218 result <- if ec == ExitSuccess