summaryrefslogtreecommitdiff
path: root/tests/lib-restricts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib-restricts')
-rw-r--r--tests/lib-restricts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib-restricts b/tests/lib-restricts
index 43548d7..64d56a4 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 || return 1
}