summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rw-r--r--tests/lib-restricts2
2 files changed, 2 insertions, 1 deletions
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 <ijackson@chiark.greenend.org.uk> 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
}