summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-03 17:59:45 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-03 17:59:45 +0000
commit75b4a19d8d43f634fd85a219b0b642fcd36cc505 (patch)
treeb0f8d9fff1c482f7cf870812f6a26250f3c547af /tests
parentd5821c88529beacf47427f490957123480a62768 (diff)
downloadmorph-75b4a19d8d43f634fd85a219b0b642fcd36cc505.tar.gz
Output multiple chunks when requested
Diffstat (limited to 'tests')
-rwxr-xr-xtests/hello-chunk.script2
-rwxr-xr-xtests/hello-stratum.script2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/hello-chunk.script b/tests/hello-chunk.script
index eb48f79f..5a9f7d59 100755
--- a/tests/hello-chunk.script
+++ b/tests/hello-chunk.script
@@ -23,7 +23,7 @@ tar -C "$DATADIR" -xf tests/hello-chunk.tar.gz
./morph --no-default-configs build hello master hello.morph \
--git-base-url "file://$DATADIR/" \
--cachedir="$DATADIR"
-for chunk in "$DATADIR/"*.chunk
+for chunk in "$DATADIR/"*.chunk.*
do
echo "$chunk:"
tar -tf "$chunk" | LC_ALL=C sort | sed '/^\.\/./s:^\./::'
diff --git a/tests/hello-stratum.script b/tests/hello-stratum.script
index 40bebfa1..49127bf1 100755
--- a/tests/hello-stratum.script
+++ b/tests/hello-stratum.script
@@ -24,4 +24,4 @@ tar -C "$DATADIR" -xf tests/hello-chunk.tar.gz
./morph --no-default-configs build hello master hello-stratum.morph \
--git-base-url "file://$DATADIR/" \
--cachedir="$DATADIR"
-tar -tf "$DATADIR/"*.stratum | LC_ALL=C sort | sed '/^\.\/./s:^\./::'
+tar -tf "$DATADIR/"*.stratum.* | LC_ALL=C sort | sed '/^\.\/./s:^\./::'