Tests.Old: Set TMP to ".".
Otherwise TMP is unset and, on Windows, C:\Windows is used by default, leading to permission violations.
This commit is contained in:
parent
bec25775ba
commit
93c35cbf14
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ testWithNormalize normalizer testname opts inp norm = testCase testname $ do
|
|||
let options = ["--data-dir", ".."] ++ [inpPath] ++ opts
|
||||
let cmd = pandocPath ++ " " ++ unwords options
|
||||
ph <- runProcess pandocPath options Nothing
|
||||
(Just [("LANG","en_US.UTF-8"),("HOME", "./")]) Nothing (Just hOut)
|
||||
(Just [("TMP","."),("LANG","en_US.UTF-8"),("HOME", "./")]) Nothing (Just hOut)
|
||||
(Just stderr)
|
||||
ec <- waitForProcess ph
|
||||
result <- if ec == ExitSuccess
|
||||
|
|
Loading…
Add table
Reference in a new issue