X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=tests%2Flib-restricts;h=dfaaa25eebbee7334a722e34c14be6e6b5b9a7a3;hb=89108c5f44ad57febbb24a28d605a5c6322d14c2;hp=43548d7a79416274ffd00a5e1861488af19f6bbc;hpb=9414f3a38be811dac56519e16a4e4cb86a619655;p=dgit.git diff --git a/tests/lib-restricts b/tests/lib-restricts index 43548d7a..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 () { - schroot -la | grep -qxF chroot: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 () { + : }