From ad0ae6ded9d2778d48da5d5c54bec47343d72e79 Mon Sep 17 00:00:00 2001
From: Michael Prokop <mika@grml.org>
Date: Mon, 8 Aug 2011 20:13:34 +0200
Subject: [PATCH] adt-run: make sure apt-listbugs + apt-listchanges do not
 show up.

Iff apt-listbugs and/or apt-listchanges are installed and enabled
then the frontends may pop up and pause the test runs. By setting
the according environment variables we make sure they do not show
up.

Signed-off-by: Michael Prokop <mika@debian.org>
---
 runner/adt-run |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/runner/adt-run b/runner/adt-run
index f935f3f..a225ccc 100755
--- a/runner/adt-run
+++ b/runner/adt-run
@@ -55,6 +55,8 @@ timeouts = { 'short':100, 'install':3000, 'test':10000, 'build':100000 }
 binaries = None		# Binaries (.debs we have registered)
 build_essential = ["build-essential"]
 paths = []
+os.putenv("APT_LISTBUGS_FRONTEND", "none")    # do not consider using apt-listbugs
+os.putenv("APT_LISTCHANGES_FRONTEND", "none") # do not consider using apt-listchanges
 
 #---------- output handling
 #
-- 
1.7.5.4

