X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Flib-restricts;h=1eb166e424a68f093929f8d4662708534fb9a7b0;hb=9810537db1cd42febc3283a69fa6c09b5b212f30;hp=aca66926d8c377b8df97a3d83a88030f3779ebf3;hpb=ada48ca013e77d7e821d326db40bc1a59ba639ea;p=dgit.git diff --git a/tests/lib-restricts b/tests/lib-restricts index aca66926..1eb166e4 100644 --- a/tests/lib-restricts +++ b/tests/lib-restricts @@ -11,3 +11,7 @@ t-restriction-x-dgit-git-only () { echo 'not running out of git clone' return 1 } + +t-restriction-x-dgit-schroot-build () { + schroot -l -c build 2>&1 >/dev/null || return 1 +}