summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-28 15:39:06 +0100
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-28 15:39:06 +0100
commitd2f23c946f5e8814c4e44e63f4ae2412491bd4b6 (patch)
tree9326415ab30b2c24f57ba2b1cb42656870a69728
parent3d231af39d53af6e1fb96ccad926432db2e0c7d7 (diff)
downloadlorry-d2f23c946f5e8814c4e44e63f4ae2412491bd4b6.tar.gz
tests: Fix make-tarball test
Add a fake mirror-base-url-fetch for running make-tarball test. This was broken because if mirror-base-url-fetch is empty lorry avoids to create the bundle and the tar file. Change-Id: I606226fb26739a366641b8f3ac9c9969860abcb0
-rwxr-xr-xtests/make-tarball.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/make-tarball.script b/tests/make-tarball.script
index 7a25e01..3c462ae 100755
--- a/tests/make-tarball.script
+++ b/tests/make-tarball.script
@@ -24,7 +24,7 @@ logfile="$DATADIR/make-tarball.log"
workdir="$DATADIR/work-dir"
"${SRCDIR}/test-lorry" --pull-only --log="$logfile" --working-area="$workdir" \
- --tarball=first \
+ --tarball=first --mirror-base-url-fetch="file://non-existent-url" \
"$DATADIR/make-tarball-repo.lorry" > /dev/null 2> /dev/null
# verify that we can see the tarball generated of the git tree