chiark / gitweb /
test suite: Provide a gbp.conf which sets --export-dir to $bpd
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 26 Jul 2018 06:28:46 +0000 (07:28 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 26 Jul 2018 12:00:47 +0000 (13:00 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/lib

index 2842ce8..8de7b89 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -1138,6 +1138,10 @@ t-buildproductsdir-config () {
        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 () {