summaryrefslogtreecommitdiff
path: root/test/integration/framework
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-05-07 22:05:26 +0200
committerMichael Vogt <mvo@debian.org>2014-05-07 22:05:26 +0200
commit8c617819b179beef02a87daa2777115b4e3b3b48 (patch)
tree31c692198d274a91de5a53ac8cbd6d0fe0e27900 /test/integration/framework
parentb58f28d4c4a06ef0a67cf3b6fe57aa08e7bc6b7e (diff)
add BUILDDIRECTORY to PATH in the tests
Diffstat (limited to 'test/integration/framework')
-rw-r--r--test/integration/framework3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/framework b/test/integration/framework
index 3b900a960..7c5da3694 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -241,7 +241,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