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
Add “Ignore warning” option to cabal check
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
Init
/
init-interactive-empty-folder.test.hs
blob
4c43824465179117884ad5ba7487566e36d500bb
1
import
Test
.
Cabal
.
Prelude
2
3
main
=
cabalTest
$
do
4
tmpDir
<-
testTmpDir
<$>
getTestEnv
5
withDirectory tmpDir
$
do
6
res
<-
cabalWithStdin
"init"
7
[
"-i"
]
8
(
replicate
20
'
\n
')
-- Default all the way down.
9
assertOutputDoesNotContain
"backups will be created"
res
10