(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / Regression / T6906 / cabal.test.hs
blob233f4a2a3d1faa9c814ead42e4d4126876541702
1 import Test.Cabal.Prelude
3 main = cabalTest $ do
4 win <- isWindows
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