summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-05-07 22:05:26 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-07-25 11:00:09 +0200
commit7491bed8cddb928589c3f7fa1bb308352f15962b (patch)
treeac9ad576ba294fc47f97814f7f2fd893dd4d6f45 /test
parent8965b2f8e6738463c20f69e76ba888a8d77225e3 (diff)
add BUILDDIRECTORY to PATH in the tests
Git-Dch: Ignore
Diffstat (limited to 'test')
-rw-r--r--test/integration/framework3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/framework b/test/integration/framework
index 70ad381e9..3bfd8e435 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -253,7 +253,8 @@ setupenvironment() {
gpg --quiet --check-trustdb --secret-keyring $SECRETKEYRING --keyring $SECRETKEYRING >/dev/null 2>&1
# cleanup the environment a bit
- export PATH="${PATH}:/usr/local/sbin:/usr/sbin:/sbin"
+ # prefer our apt binaries over the system apt binaries
+ export PATH="${BUILDDIRECTORY}:${PATH}:/usr/local/sbin:/usr/sbin:/sbin"
export LC_ALL=C.UTF-8
unset LANGUAGE APT_CONFIG
unset GREP_OPTIONS DEB_BUILD_PROFILES