debian/test.sh: Unexport HTTP proxy variables for build-time tests too

This commit is contained in:
Simon McVittie 2017-10-03 19:38:47 +01:00
parent b568824532
commit 8cceae8d2a
2 changed files with 11 additions and 0 deletions

2
debian/changelog vendored
View File

@ -8,6 +8,8 @@ ostree (2017.12-1) UNRELEASED; urgency=medium
* Unexport HTTP proxy variables in autopkgtest to work around lack of
support for no_proxy, which breaks the tests on Ubuntu autopkgtest.
We don't actually need Internet access, so this is OK.
* debian/test.sh: Unexport HTTP proxy variables for build-time tests
too
-- Simon McVittie <smcv@debian.org> Tue, 03 Oct 2017 19:14:14 +0100

9
debian/test.sh vendored
View File

@ -4,6 +4,15 @@ set -e
export VERBOSE=1
# Ubuntu autopkgtest infra provides internet access via a proxy, and
# buildds could conceivably do the same, but libostree doesn't need
# that. However, libostree also doesn't support no_proxy, so it will try
# to use Ubuntu's proxy for localhost, and fail to reach itself.
unset ftp_proxy
unset http_proxy
unset https_proxy
unset no_proxy
try_tests=5
failed=0