Francois Gouget : testbot/SetWinLocale: Simplify tracing the command lines.
Alexandre Julliard
julliard at winehq.org
Wed Feb 9 16:03:16 CST 2022
Module: tools
Branch: master
Commit: 86a56c50f78309b1c22ea2e9a6d46b4c8db73641
URL: https://source.winehq.org/git/tools.git/?a=commit;h=86a56c50f78309b1c22ea2e9a6d46b4c8db73641
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Tue Feb 8 23:46:28 2022 +0100
testbot/SetWinLocale: Simplify tracing the command lines.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/bin/SetWinLocale | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testbot/bin/SetWinLocale b/testbot/bin/SetWinLocale
index 4cc3644..29b57b3 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
More information about the wine-cvs
mailing list