From a2c4584418bf71c7f7ee04e333e8f53375104e63 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 29 Sep 2011 12:36:51 +0100 Subject: Add --cachedir option for specifying where build results go. --- tests/hello-chunk.script | 5 +++-- tests/hello-stratum.script | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'tests') 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/" -- cgit v1.2.1