chiark / gitweb /
dgit: New fetch algorithm - try to tolerate in-archive copies
[dgit.git] / tests / lib-restricts
index ee5902c4780e2b820f5676c11539a1feb7ad429c..1eb166e424a68f093929f8d4662708534fb9a7b0 100644 (file)
@@ -13,5 +13,5 @@ t-restriction-x-dgit-git-only () {
 }
 
 t-restriction-x-dgit-schroot-build () {
-       schroot -la | grep -xF chroot:build
+       schroot -l -c build 2>&1 >/dev/null || return 1
 }