Francois Gouget : testbot/SetWinLocale: Provide a dummy reboot reason.
Module: tools Branch: master Commit: 33de404f4ee904ed8f6411e9cc06ba3a1ec497e6 URL: https://source.winehq.org/git/tools.git/?a=commit;h=33de404f4ee904ed8f6411e9... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Tue Feb 8 23:46:25 2022 +0100 testbot/SetWinLocale: Provide a dummy reboot reason. This matches LibvirtTool. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- testbot/bin/SetWinLocale | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testbot/bin/SetWinLocale b/testbot/bin/SetWinLocale index b43b501..4cc3644 100755 --- a/testbot/bin/SetWinLocale +++ b/testbot/bin/SetWinLocale @@ -900,7 +900,7 @@ SetWinLocales($OptSysCopy, $OptDefCopy, $OptLocale, $CountryId, if ($OptReboot) { - my $Cmd = ["shutdown.exe", "/r", "/t", "0"]; + my $Cmd = ["shutdown.exe", "/r", "/d", "00:00", "/t", "0"]; Debug(Elapsed($Start), " Rebooting: ", join(" ", @$Cmd), "\n"); my $OldCount = $TA->GetProperties("start.count"); $TA->Run($Cmd, 0);
participants (1)
-
Alexandre Julliard