X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Flib-restricts;h=dfaaa25eebbee7334a722e34c14be6e6b5b9a7a3;hp=1eb166e424a68f093929f8d4662708534fb9a7b0;hb=6e35e65c7cfb860c64ca036bd5b2236b97dd5a3d;hpb=68183f87b584b5a4c273375b391d92b81234d96a diff --git a/tests/lib-restricts b/tests/lib-restricts index 1eb166e4..dfaaa25e 100644 --- a/tests/lib-restricts +++ b/tests/lib-restricts @@ -13,5 +13,16 @@ 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 } + +t-restriction-x-dgit-unfinished () { + echo 'unfinished test, or unfinished feature' + return 1 +} + +t-restriction-hint-testsuite-triggers () { + : +}