hackport-0.6.3: cabal/cabal-testsuite/PackageTests/Regression/T5318/sdist-list-sources.test.hs
import Test.Cabal.Prelude main = cabalTest $ do tmpdir <- fmap testTmpDir getTestEnv let fn = tmpdir </> "sources" cabal "v1-sdist" ["--list-sources=" ++ fn] -- --list-sources outputs with slashes on posix and backslashes on Windows. 'normalise' converts our needle to the necessary format. assertFileDoesContain fn $ normalise "foo.dat"