chiark / gitweb /
Test suite: provide for x-dgit-unfinished restriction
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 5 Sep 2016 23:10:23 +0000 (00:10 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 5 Sep 2016 23:31:48 +0000 (00:31 +0100)
This will allow us to add tests which fail or are broken, without
causing the test suite as a whole to fail.  When the test is good, the
restrction should be removed.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/lib-restricts

index 1eb166e424a68f093929f8d4662708534fb9a7b0..bffe13a2b1e9beafe37de3bf7f63555cff075b45 100644 (file)
@@ -15,3 +15,8 @@ t-restriction-x-dgit-git-only () {
 t-restriction-x-dgit-schroot-build () {
        schroot -l -c build 2>&1 >/dev/null || return 1
 }
+
+t-restriction-x-dgit-unfinished () {
+       echo 'unfinished test, or unfinished feature'
+       return 1
+}