[PATCH] testbot: Simplify passing the Job URL to WineTest.

Francois Gouget fgouget at codeweavers.com
Fri Jun 15 04:56:15 CDT 2018


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/WineRunTask.pl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl
index 15f8752fb..3b0ccbc4a 100755
--- a/testbot/bin/WineRunTask.pl
+++ b/testbot/bin/WineRunTask.pl
@@ -448,8 +448,7 @@ elsif ($Step->Type eq "suite")
   if (defined($WebHostName))
   {
     my $StepTask = 100 * $StepNo + $TaskNo;
-    $Script .= '-u "http://' . $WebHostName . "/JobDetails.pl?Key=" .
-               $JobId . "&scrshot_" . $StepTask . "=1#k" . $StepTask . '" ';
+    $Script .= "-u \"http://$WebHostName/JobDetails.pl?Key=$JobId&scrshot_$StepTask=1#k$StepTask\"";
   }
   my $Info = $VM->Description ? $VM->Description : "";
   if ($VM->Details)
-- 
2.17.1



More information about the wine-devel mailing list