X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=tests%2Flib;h=564ea512a6b0fd61a913d39618e3fe97e5cd7d84;hb=3a3ec0b3ff3408922f4740d83fa291d6d30adf45;hp=a297227fc73c6c6376927eb6db5f09b13e34b29a;hpb=52eeb586a25be5734ab9e53059f41f5a6e08690c;p=dgit.git diff --git a/tests/lib b/tests/lib index a297227f..564ea512 100644 --- 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)