summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-08-16 16:01:57 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-08-16 16:01:57 +0100
commitd929eda43aa0a327d7a3b87c4441d412131e4617 (patch)
tree684d4cf638ae1f10dffe031e3cacce07671c97f3 /tests
parentc1d86718fc6af23c498b936ef0fa888a7bc24172 (diff)
Test suite: Fix t-restriction-x-dgit-schroot-build in non-adt mode.
Diffstat (limited to 'tests')
-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
}