diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-03 16:49:55 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-03 16:49:55 +0000 |
commit | f205ebeef227115021ee764458508ef3a139d1aa (patch) | |
tree | fd95322346c9c1222a6ee93963b18f1424248eda /tests | |
parent | 4942f4c77687980191b41b07104e9e9e49ae4fc8 (diff) | |
download | morph-f205ebeef227115021ee764458508ef3a139d1aa.tar.gz |
Add test with split chunks
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/hello-chunk.script | 6 | ||||
-rw-r--r-- | tests/hello-chunk.tar.gz | bin | 10116 -> 11725 bytes | |||
-rw-r--r-- | tests/hello-stratum.stdout | 3 |
3 files changed, 8 insertions, 1 deletions
diff --git a/tests/hello-chunk.script b/tests/hello-chunk.script index 1a7edde2..eb48f79f 100755 --- a/tests/hello-chunk.script +++ b/tests/hello-chunk.script @@ -23,4 +23,8 @@ 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" -tar -tf "$DATADIR/"*.chunk | LC_ALL=C sort | sed '/^\.\/./s:^\./::' +for chunk in "$DATADIR/"*.chunk +do + echo "$chunk:" + tar -tf "$chunk" | LC_ALL=C sort | sed '/^\.\/./s:^\./::' +done diff --git a/tests/hello-chunk.tar.gz b/tests/hello-chunk.tar.gz Binary files differindex dad05cb5..debbb6e6 100644 --- a/tests/hello-chunk.tar.gz +++ b/tests/hello-chunk.tar.gz diff --git a/tests/hello-stratum.stdout b/tests/hello-stratum.stdout index 12c0792a..08695c76 100644 --- a/tests/hello-stratum.stdout +++ b/tests/hello-stratum.stdout @@ -6,3 +6,6 @@ usr/ usr/local/ usr/local/bin/ usr/local/bin/greeter +usr/local/man/ +usr/local/man/man1/ +usr/local/man/man1/hello.1 |