Francois Gouget : testbot/LibvirtTool: Don't wait for the reboot after SetWinLocale.

Alexandre Julliard julliard at winehq.org
Wed Feb 2 16:36:10 CST 2022


Module: tools
Branch: master
Commit: 13f273e7c4a97bedeb550c698dc8be9cf835e269
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=13f273e7c4a97bedeb550c698dc8be9cf835e269

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Feb  2 15:08:58 2022 +0100

testbot/LibvirtTool: Don't wait for the reboot after SetWinLocale.

SetWinLocale already waits for Windows to be ready to check that the
locales changed as expected.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/bin/LibvirtTool.pl | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/testbot/bin/LibvirtTool.pl b/testbot/bin/LibvirtTool.pl
index 1488344..b186e19 100755
--- a/testbot/bin/LibvirtTool.pl
+++ b/testbot/bin/LibvirtTool.pl
@@ -680,21 +680,6 @@ sub Revert()
       FatalError("Could not set the $VMKey locale to $SetLocale\n");
     }
 
-    Debug(Elapsed($Start), " Wait for the $VMKey locale-setting reboot to complete\n");
-    LogMsg "Wait for the $VMKey locale-setting reboot to complete\n";
-    while (1)
-    {
-      my $TA = $VM->GetAgent();
-      my $Count = $TA->GetProperties("start.count");
-      $TA->Disconnect();
-
-      # SetupTestAgentd() has reset start.count to zero.
-      # It will only change after the reboot.
-      last if (defined $Count and $Count != 0);
-
-      sleep(1);
-    }
-
     $DomainSnapshot .= "-$SetLocale";
     CreateSnapshot($Domain, $DomainSnapshot);
   }




More information about the wine-cvs mailing list