summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-22 15:36:32 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-22 15:38:41 +0000
commitd57b80f073cd2babd4d0e5baf5e5c1c97a889316 (patch)
tree84f55f3bff4fb0a2159024b46e320918c5b859b1 /tests
parent6b6e41c2a22106c7afca2d17262d90d7d13d79de (diff)
downloadmorph-d57b80f073cd2babd4d0e5baf5e5c1c97a889316.tar.gz
Simplify how morph gets called by using config file
Cant' use tests/morph here, because we don't want logging for this test.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/missing-ref.script6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/missing-ref.script b/tests/missing-ref.script
index 1f57dca7..039b0037 100755
--- a/tests/missing-ref.script
+++ b/tests/missing-ref.script
@@ -19,10 +19,8 @@
#tempdirs make script diffing cry
cache="$DATADIR/cache"
-./morph --no-default-configs build chunk-repo non-existent-branch hello.morph \
- --git-base-url="file://$DATADIR" \
- --cachedir="$cache" --keep-path --no-distcc \
- 2> "$DATADIR/stderr"
+./morph --no-default-configs --config="$DATADIR/morph.conf" \
+ build chunk-repo non-existent-branch hello.morph 2> "$DATADIR/stderr"
err=$?
cat "$DATADIR/stderr" | sed "s%$DATADIR%%" 1>&2
exit $err