Unexport HTTP proxy variables in autopkgtest

This works 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.
This commit is contained in:
Simon McVittie 2017-10-03 19:22:15 +01:00
parent aae0d0c5f5
commit b568824532
2 changed files with 11 additions and 0 deletions

3
debian/changelog vendored
View File

@ -5,6 +5,9 @@ ostree (2017.12-1) UNRELEASED; urgency=medium
- Update symbols file
* Add some post-release bug fix patches
* Simplify autopkgtest now that test-local-pull seems to be stable
* 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.
-- Simon McVittie <smcv@debian.org> Tue, 03 Oct 2017 19:14:14 +0100

View File

@ -3,4 +3,12 @@
set -e
exec 2>&1
# Ubuntu provides internet access via a proxy, 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
exec gnome-desktop-testing-runner libostree