]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
Bisection truncation: Rename $addhost subref to $addvar
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 15 Jul 2016 14:58:25 +0000 (15:58 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 18 Jul 2016 14:22:22 +0000 (15:22 +0100)
We are going to use this to add something thing other than a host
runvar.

No functional change.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
cs-bisection-step

index 2b899de7a2e71a2f4508e40c8f5bf1c549add5c8..f009264d1b244cf63e48e377815c274828bbea62 100755 (executable)
@@ -1278,7 +1278,7 @@ sub populateflight () {
     }
 
     my $removehosts= 
-    my $addhost= db_prepare(<<END);
+    my $addvar= db_prepare(<<END);
         INSERT INTO runvars (flight,job,name,val,synth)
                      VALUES (?,     ?,  ?,   ?,  'f')
 END
@@ -1288,7 +1288,7 @@ END
         preparejob($job, $latest_flight, 0);
         foreach my $hostspec (split /,/, $hosts) { # /
             $hostspec =~ m/=/;
-            $addhost->execute($popflight, $job, $`, $'); # '
+            $addvar->execute($popflight, $job, $`, $'); # '
         }
     });
 }