summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-09-29 15:10:40 +0100
committerLars Wirzenius <liw@liw.fi>2011-09-29 15:10:40 +0100
commitc254dccec1db8e9bca9adf0fbcf10d0428a3ad6c (patch)
treed6e1f81b7ad52eb9503f0d5ff5f9bd840539d2e6 /tests
parentca50eed4c902a3454cf7210eeeb818f28d6e7e2a (diff)
downloadmorph-c254dccec1db8e9bca9adf0fbcf10d0428a3ad6c.tar.gz
Store blobs in cache directory.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/hello-chunk.script2
-rwxr-xr-xtests/hello-stratum.script7
2 files changed, 6 insertions, 3 deletions
diff --git a/tests/hello-chunk.script b/tests/hello-chunk.script
index 60839abb..11cef4ef 100755
--- a/tests/hello-chunk.script
+++ b/tests/hello-chunk.script
@@ -23,4 +23,4 @@ tar -C "$DATADIR" -xf tests/hello-chunk.tar.gz
./morph build "$DATADIR/hello/hello.morph" \
--chunk-repo="file://$DATADIR/hello" --chunk-ref=master \
--cachedir="$DATADIR"
-tar -tf "$DATADIR/hello.chunk" | LC_ALL=C sort
+tar -tf "$DATADIR/"*.chunk | LC_ALL=C sort
diff --git a/tests/hello-stratum.script b/tests/hello-stratum.script
index 76055ba9..ec7d1b12 100755
--- a/tests/hello-stratum.script
+++ b/tests/hello-stratum.script
@@ -25,5 +25,8 @@ tar -C "$DATADIR" -xf tests/hello-chunk.tar.gz
--cachedir="$DATADIR"
cp tests/hello-stratum.morph "$DATADIR"
-./morph build "$DATADIR/hello-stratum.morph" --git-base-url "file://$DATADIR/"
-tar -tf "$DATADIR/hello.stratum" | LC_ALL=C sort
+./morph build "$DATADIR/hello-stratum.morph" \
+ --git-base-url "file://$DATADIR/" \
+ --chunk-repo="file://$DATADIR/hello" --chunk-ref=master \
+ --cachedir="$DATADIR"
+tar -tf "$DATADIR/"*.stratum | LC_ALL=C sort