From 0e2be4b852820edac3d2389b144661bf2f12c8ab Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 26 Jul 2018 07:28:30 +0100 Subject: test suite: Introduce $bpd variable (nfc) Signed-off-by: Ian Jackson --- tests/lib | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/lib b/tests/lib index 564ea51..2842ce8 100644 --- a/tests/lib +++ b/tests/lib @@ -40,6 +40,7 @@ root=`pwd` troot=$root/tests testname="${DGIT_TEST_TESTNAME-${0##*/}}" export DGIT_TEST_TROOT=$troot +bpd=.. tmp=$ADTTMP if [ x"$tmp" = x ]; then @@ -1134,8 +1135,9 @@ t-policy-periodic () { } t-buildproductsdir-config () { - t-git-config dgit.default.build-products-dir $tmp/bpd - mkdir -p $tmp/bpd + bpd=$tmp/bpd + t-git-config dgit.default.build-products-dir $bpd + mkdir -p $bpd } t-restrict () { -- cgit v1.2.3