From: Ian Jackson Date: Sun, 16 Aug 2015 15:01:57 +0000 (+0100) Subject: Test suite: Fix t-restriction-x-dgit-schroot-build in non-adt mode. X-Git-Tag: debian/1.3~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d929eda43aa0a327d7a3b87c4441d412131e4617;p=dgit.git Test suite: Fix t-restriction-x-dgit-schroot-build in non-adt mode. --- diff --git a/debian/changelog b/debian/changelog index 48207def..62c73132 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 43548d7a..64d56a4a 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 }