summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-01-19 11:56:23 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-01-19 11:56:23 +0000
commitf0531394958d2ce3fb44ca4e5f1ae204a599fda7 (patch)
treea11d60a29eed815b6b97fd6f1bd1d54afcab3d35 /tests
parent7254675a089e15a341b2ee6ee2f6cc365a048216 (diff)
downloadmorph-f0531394958d2ce3fb44ca4e5f1ae204a599fda7.tar.gz
Fix missing-ref.script to return the exit code of morph, not sed.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/missing-ref.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/missing-ref.script b/tests/missing-ref.script
index f70715f1..1b4ed98d 100755
--- a/tests/missing-ref.script
+++ b/tests/missing-ref.script
@@ -24,4 +24,4 @@ cache="$DATADIR/build-chunk-cache"
--cachedir="$cache" --keep-path --no-distcc 2> "$DATADIR/build-chunk-cache.stderr"
err=$?
cat "$DATADIR/build-chunk-cache.stderr" | sed "s%$DATADIR%%" 1>&2
-exit $?
+exit $err