summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/hello-chunk.script5
-rwxr-xr-xtests/hello-stratum.script3
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/hello-chunk.script b/tests/hello-chunk.script
index 1dd99e99..60839abb 100755
--- a/tests/hello-chunk.script
+++ b/tests/hello-chunk.script
@@ -21,5 +21,6 @@ set -e
tar -C "$DATADIR" -xf tests/hello-chunk.tar.gz
./morph build "$DATADIR/hello/hello.morph" \
- --chunk-repo="file://$DATADIR/hello" --chunk-ref=master
-tar -tf "$DATADIR/hello/hello.chunk" | LC_ALL=C sort
+ --chunk-repo="file://$DATADIR/hello" --chunk-ref=master \
+ --cachedir="$DATADIR"
+tar -tf "$DATADIR/hello.chunk" | LC_ALL=C sort
diff --git a/tests/hello-stratum.script b/tests/hello-stratum.script
index 16ecdded..76055ba9 100755
--- a/tests/hello-stratum.script
+++ b/tests/hello-stratum.script
@@ -21,7 +21,8 @@ set -e
tar -C "$DATADIR" -xf tests/hello-chunk.tar.gz
./morph build "$DATADIR/hello/hello.morph" \
- --chunk-repo="file://$DATADIR/hello" --chunk-ref=master
+ --chunk-repo="file://$DATADIR/hello" --chunk-ref=master \
+ --cachedir="$DATADIR"
cp tests/hello-stratum.morph "$DATADIR"
./morph build "$DATADIR/hello-stratum.morph" --git-base-url "file://$DATADIR/"