summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKyle Mckay <kyle.mckay@codethink.co.uk>2021-12-29 10:40:40 +0000
committerKyle Mckay <kyle.mckay@codethink.co.uk>2021-12-29 10:40:40 +0000
commit4af0db1598f5a16fa6b093a037c593017a09b21c (patch)
tree88403a624d8cd5bede4a6ce6907a3d84fa159749 /tests
parent6a604b43b75edcd1a624226e1ec620ed9c7095b9 (diff)
downloadlorry-4af0db1598f5a16fa6b093a037c593017a09b21c.tar.gz
Fix failing make tarball test
Use tarball-dest since test is checking creation works, not default location behaviour
Diffstat (limited to 'tests')
-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"