chiark / gitweb /
changelog: start 6.1
[dgit.git] / tests / lib
index 564ea512a6b0fd61a913d39618e3fe97e5cd7d84..8de7b8958a92865884982aa70b4c395c4208774e 100644 (file)
--- 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,13 @@ 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
+       cat <<END >>$tmp/.gbp.conf
+[buildpackage]
+export-dir = $bpd
+END
 }
 
 t-restrict () {