From edbc2fc23a2df787cc7c0d998df9724dcaceaaf7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 7 Jan 2018 11:35:45 +0000 Subject: test suite: Export troot as an environment variable This will be useful in a moment. No functional change. Signed-off-by: Ian Jackson --- tests/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lib') 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 -- cgit v1.2.3