summaryrefslogtreecommitdiff
path: root/tests/make-tarball.script
diff options
context:
space:
mode:
Diffstat (limited to 'tests/make-tarball.script')
-rwxr-xr-xtests/make-tarball.script5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/make-tarball.script b/tests/make-tarball.script
index 3edecb2..f53f300 100755
--- a/tests/make-tarball.script
+++ b/tests/make-tarball.script
@@ -22,11 +22,12 @@ set -e
logfile="$DATADIR/make-tarball.log"
workdir="$DATADIR/work-dir"
+tardir="$DATADIR/git-tars"
"${SRCDIR}/test-lorry" --pull-only --log="$logfile" --working-area="$workdir" \
- --tarball=first --mirror-base-url-fetch="file://non-existent-url" \
+ --tarball=first --tarball-dest="$tardir" --mirror-base-url-fetch="file://non-existent-url" \
"$DATADIR/make-tarball-repo.lorry" > /dev/null
# verify that we can see the tarball generated of the git tree
-test -r "${workdir}/make-tarball-repo-bzip2/git-a/"*"make_tarball_repo_bzip2.tar"
+test -r "${tardir}/"*"make_tarball_repo_bzip2.tar"