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=aca66926d8c377b8df97a3d83a88030f3779ebf3;hb=0060e3befbe283c90dcf6017ac8261168a6efe10;hpb=ada48ca013e77d7e821d326db40bc1a59ba639ea diff --git a/tests/lib-restricts b/tests/lib-restricts index aca66926..dfaaa25e 100644 --- a/tests/lib-restricts +++ b/tests/lib-restricts @@ -11,3 +11,18 @@ t-restriction-x-dgit-git-only () { echo 'not running out of git clone' return 1 } + +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 () { + : +}