1 import Test
.Cabal
.Prelude
2 import System
.Environment
6 withDirectory
"aaaa" $ setup_install
[]
7 r
<- runInstalledExe
' "cabal-aaaa" []
9 let exe_path
= testPrefixDir env
</> "bin"
10 addToPath exe_path
$ do
11 res
<- fails
$ withDirectory
"custom" $ setup
' "aaaa" []
12 assertOutputContains
"unrecognised command" res