summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-03 16:49:55 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-03 16:49:55 +0000
commitf205ebeef227115021ee764458508ef3a139d1aa (patch)
treefd95322346c9c1222a6ee93963b18f1424248eda /tests
parent4942f4c77687980191b41b07104e9e9e49ae4fc8 (diff)
downloadmorph-f205ebeef227115021ee764458508ef3a139d1aa.tar.gz
Add test with split chunks
Diffstat (limited to 'tests')
-rwxr-xr-xtests/hello-chunk.script6
-rw-r--r--tests/hello-chunk.tar.gzbin10116 -> 11725 bytes
-rw-r--r--tests/hello-stratum.stdout3
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
index dad05cb5..debbb6e6 100644
--- a/tests/hello-chunk.tar.gz
+++ b/tests/hello-chunk.tar.gz
Binary files differ
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