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-fail-no-base.test.hs
blob
1618a08334acd97e6a87e30a32afbe9c5dc0125f
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
10
withDirectory
"q"
$
do
11
res
<-
fails
$
cabal
'
"v2-build"
[
"--package-db=clear"
,
"--package-db="
++
pkgDbPath
]
12
assertOutputContains
"unknown package: base"
res