chiark / gitweb /
test suite: gdr-subcommands: Drop obsolete line
[dgit.git] / tests / lib-restricts
index ee5902c4780e2b820f5676c11539a1feb7ad429c..dfaaa25eebbee7334a722e34c14be6e6b5b9a7a3 100644 (file)
@@ -13,5 +13,16 @@ t-restriction-x-dgit-git-only () {
 }
 
 t-restriction-x-dgit-schroot-build () {
-       schroot -la | grep -xF 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 () {
+       :
 }