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

This commit is contained in:
Simon McVittie committed 2017-10-03 22:47:46 +01:00
1 parent b568824532
commit 8cceae8d2a
2 files changed
+11

No files matched your search

+2
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
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