From d929eda43aa0a327d7a3b87c4441d412131e4617 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 16 Aug 2015 16:01:57 +0100 Subject: Test suite: Fix t-restriction-x-dgit-schroot-build in non-adt mode. --- tests/lib-restricts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lib-restricts') 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 } -- cgit v1.2.3