summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-03 18:02:14 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-03 18:02:14 +0000
commitd44da44cc59e725adacc9b9982bd9440b08b484f (patch)
tree156104c233af9ed4f46513c05cd445a69298b424 /tests
parent75b4a19d8d43f634fd85a219b0b642fcd36cc505 (diff)
downloadmorph-d44da44cc59e725adacc9b9982bd9440b08b484f.tar.gz
Prettify test script output
Diffstat (limited to 'tests')
-rwxr-xr-xtests/hello-chunk.script3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/hello-chunk.script b/tests/hello-chunk.script
index 5a9f7d59..2002b097 100755
--- a/tests/hello-chunk.script
+++ b/tests/hello-chunk.script
@@ -25,6 +25,7 @@ tar -C "$DATADIR" -xf tests/hello-chunk.tar.gz
--cachedir="$DATADIR"
for chunk in "$DATADIR/"*.chunk.*
do
- echo "$chunk:"
+ echo "$chunk:" | sed 's/[^.]*//'
tar -tf "$chunk" | LC_ALL=C sort | sed '/^\.\/./s:^\./::'
+ echo
done