(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / PackageDB / cabal-fail-no-base.test.hs
blob1618a08334acd97e6a87e30a32afbe9c5dc0125f
1 import Test.Cabal.Prelude
2 main = cabalTest $ do
3 withPackageDb $ do
4 withDirectory "p" $
5 setup_install []
7 env <- getTestEnv
8 let pkgDbPath = testPackageDbDir env
10 withDirectory "q" $ do
11 res <- fails $ cabal' "v2-build" ["--package-db=clear", "--package-db=" ++ pkgDbPath]
12 assertOutputContains "unknown package: base" res