From 519a6460930c5ae08a9591035f72e88fd4db9b71 Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Thu, 11 Jun 2015 12:59:50 +0000 Subject: 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 --- yarns/implementations.yarn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yarns') diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn index 3bef0374..ae9c2fae 100644 --- a/yarns/implementations.yarn +++ b/yarns/implementations.yarn @@ -411,14 +411,14 @@ another to hold a chunk. [config] repo-alias = test=git://127.0.0.1:$GIT_DAEMON_PORT/%s#git://127.0.0.1:$GIT_DAEMON_PORT/%s cachedir = $DATADIR/cache - tempdir = $DATADIR/tmp + tempdir = $TMPDIR trove-host = 127.0.0.1 trove-id = testtrove build-ref-prefix = testtrove/builds EOF mkdir "$DATADIR/cache" - mkdir "$DATADIR/tmp" + mkdir -p "$TMPDIR" Some resources are cleaned up by yarn, forked processes aren't one of these, so need to shut down the git daemon after we finish. -- cgit v1.2.1