Francois Gouget : testbot/LibvirtTool: Use SetWinLocale's --vm option.

Alexandre Julliard julliard at winehq.org
Wed Apr 6 15:55:32 CDT 2022


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Apr  6 14:17:20 2022 +0200

testbot/LibvirtTool: Use SetWinLocale's --vm option.

This ensures SetWinLocale will use the right options to connect to the
VM's TestAgentd server.

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

---

 testbot/bin/LibvirtTool.pl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/testbot/bin/LibvirtTool.pl b/testbot/bin/LibvirtTool.pl
index bd676f0..33760d3 100755
--- a/testbot/bin/LibvirtTool.pl
+++ b/testbot/bin/LibvirtTool.pl
@@ -719,7 +719,9 @@ sub CreateSnapshot($$$$)
   if (@Locale)
   {
     Debug(Elapsed($Start), " Setting up the @Locale locale on $VMKey\n");
-    my @Cmd = ("$BinDir/SetWinLocale", $VM->Hostname);
+    # Use the --vm option to make sure SetWinLocale uses the right TestAgent
+    # connection parameters: port, ssh tunneling, etc.
+    my @Cmd = ("$BinDir/SetWinLocale", "--vm", $VMKey);
     if ($Config->{locale})
     {
       push @Cmd, "--default", $Config->{locale};




More information about the wine-cvs mailing list