summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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:^\./::'