summaryrefslogtreecommitdiff
path: root/tests/rebuild-cached-stratum.script
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-27 17:16:53 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-27 17:16:53 +0100
commitcda81a0b19cbac2c1e4533f26a31697cd21205e2 (patch)
treef0eb96c89323e4ed5071a2ab5b014c5c6c4263f7 /tests/rebuild-cached-stratum.script
parentba4c24a51d2ad7177964416c2420df7f4a337b8e (diff)
downloadmorph-cda81a0b19cbac2c1e4533f26a31697cd21205e2.tar.gz
Refactor tests/*.script to use scripts/test-morph instead of tests/morph
Diffstat (limited to 'tests/rebuild-cached-stratum.script')
-rwxr-xr-xtests/rebuild-cached-stratum.script6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/rebuild-cached-stratum.script b/tests/rebuild-cached-stratum.script
index 4a8f46f4..31b3f587 100755
--- a/tests/rebuild-cached-stratum.script
+++ b/tests/rebuild-cached-stratum.script
@@ -37,7 +37,8 @@ cache="$DATADIR/cache"
git commit --quiet -m "rebuild-cached-stratum" -a)
# Build the first time.
-tests/morph build morphs-repo rebuild-cached-stratum hello-stratum.morph
+"$SRCDIR/scripts/test-morph" \
+ build morphs-repo rebuild-cached-stratum hello-stratum.morph
echo "first build:"
(cd "$cache" && ls *.chunk.* *.stratum.* | sed 's/^[^.]*\./ /' |
LC_ALL=C sort)
@@ -48,7 +49,8 @@ echo "first build:"
git commit --quiet -am change)
# Rebuild.
-tests/morph build morphs-repo rebuild-cached-stratum hello-stratum.morph
+"$SRCDIR/scripts/test-morph" \
+ build morphs-repo rebuild-cached-stratum hello-stratum.morph
echo "second build:"
(cd "$cache" && ls *.chunk.* *.stratum.* | sed 's/^[^.]*\./ /' |
LC_ALL=C sort)