1 import Test
.Cabal
.Prelude
2 main
= cabalTest
$ withSourceCopy
$ do
3 cwd
<- fmap testCurrentDir getTestEnv
4 cabal
"v2-sdist" ["all"]
5 shouldExist
$ cwd
</> "dist-newstyle/sdist/a-0.1.tar.gz"
6 shouldExist
$ cwd
</> "dist-newstyle/sdist/b-0.1.tar.gz"