From c254dccec1db8e9bca9adf0fbcf10d0428a3ad6c Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 29 Sep 2011 15:10:40 +0100 Subject: Store blobs in cache directory. --- tests/hello-chunk.script | 2 +- tests/hello-stratum.script | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'tests') 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 -- cgit v1.2.1