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. --- debian/changelog | 1 + tests/lib-restricts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 48207de..62c7313 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ dgit (1.3~~) UNRELEASED; urgency=low complete_file_from_dsc. Closes:#795736. Also, grep the code for likely similar problems elsewhere and improve a (harmless) instance in dgit-repos-server. + * Test suite: Fix t-restriction-x-dgit-schroot-build in non-adt mode. -- Ian Jackson Sun, 16 Aug 2015 15:15:50 +0100 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