[PATCH] testbot/WineRunTask: Make the GetAgent() parameter more explicit.

Francois Gouget fgouget at codeweavers.com
Tue Sep 17 05:36:05 CDT 2019


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/WineRunTask.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/bin/WineRunTask.pl b/testbot/bin/WineRunTask.pl
index 432bf51d8..d987df7df 100755
--- a/testbot/bin/WineRunTask.pl
+++ b/testbot/bin/WineRunTask.pl
@@ -411,7 +411,7 @@ if (!$TA->SetTime())
 {
   # Not a fatal error. Try the next port in case the VM runs a privileged
   # TestAgentd daemon there.
-  my $PrivilegedTA = $VM->GetAgent(1);
+  my $PrivilegedTA = $VM->GetAgent("privileged");
   if (!$PrivilegedTA->SetTime())
   {
     LogTaskError("Unable to set the VM system time: ". $PrivilegedTA->GetLastError() .". Maybe the TestAgentd process is missing the required privileges.\n");
-- 
2.20.1




More information about the wine-devel mailing list