summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-09-29 16:18:24 +0100
committerLars Wirzenius <liw@liw.fi>2011-09-29 16:18:24 +0100
commit48e7ff4982d62413be05f3cde694afadd162872a (patch)
tree035db0d4b3a8a3087c476ad33235a7dca2897ec4 /tests
parent3995c472c744010385af43e2ef9a82a23beeba0f (diff)
downloadmorph-48e7ff4982d62413be05f3cde694afadd162872a.tar.gz
Build strata recursively.
If a chunk is missing, it will be built.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/hello-stratum.script7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/hello-stratum.script b/tests/hello-stratum.script
index ec7d1b12..72c0fd89 100755
--- a/tests/hello-stratum.script
+++ b/tests/hello-stratum.script
@@ -20,13 +20,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 \
- --cachedir="$DATADIR"
-cp tests/hello-stratum.morph "$DATADIR"
-./morph build "$DATADIR/hello-stratum.morph" \
+./morph build "tests/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