Skip to contentSkip to conversation

target_run_apt: Correctly escape line wrapping

PATCH In review Ian Campbell 2 participants 2 messages Jul 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target_run_apt: Correctly escape line wrapping

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.

---
 Osstest/TestSupport.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Osstest/TestSupport.pm +1 -1
index 0fbc519..a8b66ef 100644
@@ -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 {
Signature · 1 line
2.1.4
Acked-by on v1 1/1
#1 lore raw

Ian Campbell writes ("[PATCH] target_run_apt: Correctly escape line wrapping"):

Quoted 5 lines

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.

This should be next in the queue, along with my cs-bisection-step fix.

Ian.