chiark / gitweb /
Test suite: tartree-edit: gitfetchinfo: Specify commit timestamps
[dgit.git] / tests / lib-restricts
index 43548d7a79416274ffd00a5e1861488af19f6bbc..1eb166e424a68f093929f8d4662708534fb9a7b0 100644 (file)
@@ -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
 }