repo.or.cz
/
cabal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(cabal check) Add "No internal name clash" test
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
PackageDB
/
cabal-manual-packagedb.test.hs
blob
5b5b061d90e13d4870e5af0251cc79618bf9351c
1
import
Test
.
Cabal
.
Prelude
2
main
=
cabalTest
$
do
3
withPackageDb
$
do
4
withDirectory
"p"
$
5
setup_install
[]
6
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
]