X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Flib-restricts;fp=tests%2Flib-restricts;h=dfaaa25eebbee7334a722e34c14be6e6b5b9a7a3;hb=f0b46b0422f6ce3bb7c360ee3717eef95d621526;hp=bb695c457770d99526f339b674979b1636264dd5;hpb=599ee8fbfde3786781d36944caac72353aee99e3;p=dgit.git diff --git a/tests/lib-restricts b/tests/lib-restricts index bb695c45..dfaaa25e 100644 --- a/tests/lib-restricts +++ b/tests/lib-restricts @@ -13,6 +13,8 @@ t-restriction-x-dgit-git-only () { } t-restriction-x-dgit-schroot-build () { + # if DGIT_SCHROOT_CHROOT is set, user wants not to skip this test + if [ "x${DGIT_SCHROOT_CHROOT}" != x ]; then return 0; fi schroot -l -c build 2>&1 >/dev/null || return 1 }