From d22b80bb4d8adc5568f67bb72b2f7bdde5e312c4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 6 Apr 2017 16:48:27 +0000 Subject: [PATCH] proxy config: Factor out http_proxy_envsettings No overall functional change, other than slight syntax changes to generated shell runes. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 6ca8076f..4af47f0b 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -60,6 +60,7 @@ BEGIN { target_putfilecontents_root_stash target_put_guest_image target_editfile target_editfile_cancel target_fetchurl + http_proxy_envsettings target_editfile_root target_file_exists target_editfile_kvp_replace target_run_apt @@ -625,15 +626,13 @@ sub target_cmd_build ($$$$) { export CCACHE_PREFIX DISTCC_FALLBACK DISTCC_HOSTS END - my $httpproxy = defined($c{HttpProxy}) ? <