summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-03 19:03:34 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-03 19:03:34 +0000
commit00d1b85f2366811f32c28b0143fe1ead5d4aceb6 (patch)
tree76ca15cefe0b4331c51be0707474991f2a066c4f /tests
parentcddce2034c1acb41a5117e4e50967be95bb47c3a (diff)
downloadmorph-00d1b85f2366811f32c28b0143fe1ead5d4aceb6.tar.gz
Clean up the environment
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 2002b097..6344a681 100755
--- a/tests/hello-chunk.script
+++ b/tests/hello-chunk.script
@@ -22,7 +22,7 @@ set -e
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"
+ --cachedir="$DATADIR" --keep-path
for chunk in "$DATADIR/"*.chunk.*
do
echo "$chunk:" | sed 's/[^.]*//'
diff --git a/tests/hello-stratum.script b/tests/hello-stratum.script
index 49127bf1..82ba69d9 100755
--- a/tests/hello-stratum.script
+++ b/tests/hello-stratum.script
@@ -23,5 +23,5 @@ 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"
+ --cachedir="$DATADIR" --keep-path
tar -tf "$DATADIR/"*.stratum.* | LC_ALL=C sort | sed '/^\.\/./s:^\./::'