1 import Test
.Cabal
.Prelude
5 ghcsWithMaxPathIssue
<- isGhcVersion
"< 8.6.5"
6 expectBrokenIf
(win
&& ghcsWithMaxPathIssue
) 6271 $ do
7 res
<- recordMode DoNotRecord
$ cabalG
' ["--config=cabal.config"] "v2-install" ["-v3"]
8 assertOutputContains
"creating file with the inputs used to compute the package hash:" res
9 assertOutputContains
"extra-lib-dirs: bar" res
10 assertOutputDoesNotContain
"extra-lib-dirs: bar bar" res
11 assertOutputContains
"extra-include-dirs: foo" res
12 assertOutputDoesNotContain
"extra-include-dirs: foo foo" res