X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Flib-restricts;h=bffe13a2b1e9beafe37de3bf7f63555cff075b45;hp=ee5902c4780e2b820f5676c11539a1feb7ad429c;hb=256b64652ad59ecf74a75fb3337e39dfec8773f4;hpb=cfec91c99eff2ed5d6e914b54ef81d9ddca78ca8 diff --git a/tests/lib-restricts b/tests/lib-restricts index ee5902c4..bffe13a2 100644 --- a/tests/lib-restricts +++ b/tests/lib-restricts @@ -13,5 +13,10 @@ t-restriction-x-dgit-git-only () { } t-restriction-x-dgit-schroot-build () { - schroot -la | grep -xF chroot:build + schroot -l -c build 2>&1 >/dev/null || return 1 +} + +t-restriction-x-dgit-unfinished () { + echo 'unfinished test, or unfinished feature' + return 1 }