diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-03 17:59:45 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-03 17:59:45 +0000 |
commit | 75b4a19d8d43f634fd85a219b0b642fcd36cc505 (patch) | |
tree | b0f8d9fff1c482f7cf870812f6a26250f3c547af /tests | |
parent | d5821c88529beacf47427f490957123480a62768 (diff) | |
download | morph-75b4a19d8d43f634fd85a219b0b642fcd36cc505.tar.gz |
Output multiple chunks when requested
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/hello-chunk.script | 2 | ||||
-rwxr-xr-x | tests/hello-stratum.script | 2 |
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:^\./::' |