chiark / gitweb /
test suite lib: add t-buildproductsdir-config
[dgit.git] / tests / lib
index a297227fc73c6c6376927eb6db5f09b13e34b29a..564ea512a6b0fd61a913d39618e3fe97e5cd7d84 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -1133,6 +1133,11 @@ t-policy-periodic () {
        : '))))))))))))))))))))))))))))))))))))))))'
 }
 
+t-buildproductsdir-config () {
+       t-git-config dgit.default.build-products-dir $tmp/bpd
+       mkdir -p $tmp/bpd
+}
+
 t-restrict () {
        local restriction=$1
        (cd $root; t-restriction-$restriction >&2)