(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / PackageDB / cabal-manual-packagedb.test.hs
blob5b5b061d90e13d4870e5af0251cc79618bf9351c
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
9 withDirectory "q" $
10 cabal "v2-build" [ "--package-db=clear"
11 , "--package-db=global"
12 , "--package-db=" ++ pkgDbPath]