From patchwork Thu Apr 6 17:29:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 9667969 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 64872602B3 for ; Thu, 6 Apr 2017 17:32:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D398275A2 for ; Thu, 6 Apr 2017 17:32:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 517852859E; Thu, 6 Apr 2017 17:32:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0814F275A2 for ; Thu, 6 Apr 2017 17:32:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwBEe-0005Vq-Lk; Thu, 06 Apr 2017 17:30:16 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwBEd-0005Vk-IV for xen-devel@lists.xenproject.org; Thu, 06 Apr 2017 17:30:15 +0000 Received: from [85.158.137.68] by server-4.bemta-3.messagelabs.com id 6F/17-03705-62B76E85; Thu, 06 Apr 2017 17:30:14 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBLMWRWlGSWpSXmKPExsXitHRDpK5a9bM Igxur5C2+b5nM5MDocfjDFZYAxijWzLyk/IoE1oybTduZC74IVFxtlWtgfM7TxcjJISHgL7Fv 2jcmEJtNQFeiactfti5GDg4RARWJ23sNQMLMAtoSe9fNZQaxhQV8JH4+/skKYrMAlXxufMkOU s4r4ClxYVkpxEQ5ifPHfzKDhIUE1CTmro8HCfMKCEqcnPmEBWKihMTBFy+YJzByz0KSmoUktY CRaRWjenFqUVlqka6RXlJRZnpGSW5iZo6uoYGxXm5qcXFiempOYlKxXnJ+7iZGYAjUMzAw7mA 81ex8iFGSg0lJlFfB50mEEF9SfkplRmJxRnxRaU5q8SFGGQ4OJQleoapnEUKCRanpqRVpmTnA YIRJS3DwKInwcoGkeYsLEnOLM9MhUqcYFaXEeaVBEgIgiYzSPLg2WARcYpSVEuZlZGBgEOIpS C3KzSxBlX/FKM7BqCTMe70SaApPZl4J3PRXQIuZgBb73HoKsrgkESEl1cDoPlHs+sfUVPmJSR V5lw2z0/7vDV+zYHHpapMJk9RtGDZ+UF26bG04D+fb8JmTvlskZf1wrSk6HJdjUB4nfdbgy8n HKWwctzQ3d6158+2rbs2JsM9Rjw1WzXRPjJq9c9/Gyms9jq283x8XXbqz4HSh/222dZsqsx4r ncpy8NmwqLFg9//ZGoEHlViKMxINtZiLihMBGTD9vXsCAAA= X-Env-Sender: prvs=262536069=Ian.Jackson@citrix.com X-Msg-Ref: server-9.tower-31.messagelabs.com!1491499812!39144754!1 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.2.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 31196 invoked from network); 6 Apr 2017 17:30:14 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-9.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 6 Apr 2017 17:30:14 -0000 X-IronPort-AV: E=Sophos;i="5.37,160,1488844800"; d="scan'208";a="417767315" From: Ian Jackson To: Date: Thu, 6 Apr 2017 18:29:56 +0100 Message-ID: <1491499799-26586-1-git-send-email-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: Ian Jackson Subject: [Xen-devel] [OSSTEST PATCH 1/4] proxy config: Factor out http_proxy_envsettings X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 6ca8076..1cc09be 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}) ? <