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 committed 2017-10-03 22:47:46 +01:00
1 parent aae0d0c5f5
commit b568824532
2 files changed
+11

No files matched your search

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