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=43548d7a79416274ffd00a5e1861488af19f6bbc;hb=256b64652ad59ecf74a75fb3337e39dfec8773f4;hpb=9414f3a38be811dac56519e16a4e4cb86a619655 diff --git a/tests/lib-restricts b/tests/lib-restricts index 43548d7a..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 -qxF 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 }