Create changelogs for 3.14.1.0 (#10591)
[cabal.git] / cabal-testsuite / PackageTests / ExternalCommandSetup / setup.cabal.hs
blob7fb49a41923028a7c48ff57068e291272b2c5155
1 import Test.Cabal.Prelude
2 import System.Environment
4 main = setupTest $ do
5 withPackageDb $ do
6 withDirectory "aaaa" $ setup_install []
7 r <- runInstalledExe' "cabal-aaaa" []
8 env <- getTestEnv
9 let exe_path = testPrefixDir env </> "bin"
10 addToPath exe_path $ do
11 res <- fails $ withDirectory "custom" $ setup' "aaaa" []
12 assertOutputContains "unrecognised command" res