From: Ian Campbell Subject: [PATCH] target_run_apt: Correctly escape line wrapping Date: Thu, 23 Jul 2015 17:04:01 +0100 Message-ID: <1437667441-4188-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org Otherwise the envvars are on the preceding line and therefore not set in the apt-get process. I broke this in 6fea4be08306 "apt: lock osstest's usages of apt-get against each other", committed in January. Signed-off-by: Ian Campbell --- Osstest/TestSupport.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 0fbc519..a8b66ef 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -432,7 +432,7 @@ sub target_putfile_root ($$$$;$) { sub target_run_apt { my ($ho, @aptopts) = @_; target_cmd_root($ho, - "DEBIAN_PRIORITY=critical UCF_FORCE_CONFFOLD=y \ + "DEBIAN_PRIORITY=critical UCF_FORCE_CONFFOLD=y \\ with-lock-ex -w /var/lock/osstest-apt apt-get @aptopts", 3000); } sub target_install_packages { -- 2.1.4