summaryrefslogtreecommitdiff
path: root/tests.build
diff options
context:
space:
mode:
authorMike Williams <mike.williams@codethink.co.uk>2015-06-11 12:59:50 +0000
committerBaserock Gerrit <gerrit@baserock.org>2015-09-17 15:01:52 +0000
commit519a6460930c5ae08a9591035f72e88fd4db9b71 (patch)
tree27f12a4f8b0b1cbe0a82fc3cbb2a86cc33777d5e /tests.build
parent07df32fbd57477e5808cdbace965edcd0a81348f (diff)
downloadmorph-519a6460930c5ae08a9591035f72e88fd4db9b71.tar.gz
Force test suite to observe morph.conf tempdir
This change, suggested in story #16, causes the testing suite to use the user-defined tempdir in /etc/morph.conf if it exists or continue using /tmp if not. This will prevent the test suite from filling drives that are not intended to be used for development work. Change-Id: I94edabe4ea1eca7a55ece7424ece7bbd4b68c513
Diffstat (limited to 'tests.build')
-rwxr-xr-xtests.build/setup1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests.build/setup b/tests.build/setup
index b7dc5074..054bdc3e 100755
--- a/tests.build/setup
+++ b/tests.build/setup
@@ -114,6 +114,7 @@ cat <<EOF > "$DATADIR/morph.conf"
repo-alias = test=file://$DATADIR/%s#file://$DATADIR/%s
cachedir = $DATADIR/cache
log = $DATADIR/morph.log
+tempdir = $TMPDIR
no-distcc = true
quiet = true
EOF