[tools 3/3] testbot/SetWinLocale: Simplify tracing the command lines.

Francois Gouget fgouget at codeweavers.com
Tue Feb 8 16:46:28 CST 2022


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/SetWinLocale | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testbot/bin/SetWinLocale b/testbot/bin/SetWinLocale
index 818a67b31d..4a67a6ac5e 100755
--- a/testbot/bin/SetWinLocale
+++ b/testbot/bin/SetWinLocale
@@ -869,7 +869,7 @@ sub SetWinLocales($$$$$$$$)
              $KeyboardIds ? $KeyboardIds->[0] : ".",
              $SysCopy ? "true" : "false", $DefCopy ? "true" : "false",
              $OptUseIntl ? "true" : "false"];
-  Debug(Elapsed($Start), " Running: ", join(" ", @$Cmd), "\n");
+  Debug(Elapsed($Start), " Running: @$Cmd\n");
   my $Ret = $TA->RunAndWait($Cmd, 0, 30, undef, "$name0.out", "$name0.out");
   FatalError("$name0.ps1 locales failed: ", $TA->GetLastError(), "\n") if ($Ret < 0);
   my $Out = $TA->GetFileToString("$name0.out");
@@ -901,7 +901,7 @@ SetWinLocales($OptSysCopy, $OptDefCopy, $OptLocale, $CountryId,
 if ($OptReboot)
 {
   my $Cmd = ["shutdown.exe", "/r", "/d", "00:00", "/t", "0"];
-  Debug(Elapsed($Start), " Rebooting: ", join(" ", @$Cmd), "\n");
+  Debug(Elapsed($Start), " Rebooting: @$Cmd\n");
   my $OldCount =  $TA->GetProperties("start.count");
   $TA->Run($Cmd, 0);
   # Note that we cannot wait for this command since it reboots Windows
-- 
2.30.2



More information about the wine-devel mailing list