X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Flib-restricts;h=1eb166e424a68f093929f8d4662708534fb9a7b0;hb=312eeea6721530096c252d25f325762e96880cdb;hp=43548d7a79416274ffd00a5e1861488af19f6bbc;hpb=9414f3a38be811dac56519e16a4e4cb86a619655;p=dgit.git diff --git a/tests/lib-restricts b/tests/lib-restricts index 43548d7a..1eb166e4 100644 --- a/tests/lib-restricts +++ b/tests/lib-restricts @@ -13,5 +13,5 @@ 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 }