summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-01-07 11:35:45 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-01-07 16:18:53 +0000
commitedbc2fc23a2df787cc7c0d998df9724dcaceaaf7 (patch)
tree6f992f6ac2b130e572a71d3ed2c94c6142acb6c5 /tests
parent26e97d328b4c4e8d7b8a30120ac2a8dd51295c91 (diff)
test suite: Export troot as an environment variable
This will be useful in a moment. No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib b/tests/lib
index 8fd3514..fa8d6bb 100644
--- a/tests/lib
+++ b/tests/lib
@@ -37,6 +37,7 @@ export GIT_AUTHOR_DATE='1440253867 +0100'
root=`pwd`
troot=$root/tests
testname="${DGIT_TEST_TESTNAME-${0##*/}}"
+export DGIT_TEST_TROOT=$troot
tmp=$ADTTMP
if [ x"$tmp" = x ]; then
@@ -984,7 +985,6 @@ t-git-config () {
}
t-drs () {
- export DGIT_TEST_TROOT=$troot
t-git-config dgit-distro.test-dummy.git-url "ext::$troot/drs-git-ext %S "
t-git-config dgit-distro.test-dummy.git-check true
t-git-config dgit-distro.test-dummy.git-create true