Francois Gouget : testbot/WineRunTask: Make the GetAgent() parameter more explicit.
Alexandre Julliard
julliard at winehq.org
Tue Sep 17 11:55:07 CDT 2019
Module: tools
Branch: master
Commit: e1b54bf69625998852857dc1a59b322e6262b987
URL: https://source.winehq.org/git/tools.git/?a=commit;h=e1b54bf69625998852857dc1a59b322e6262b987
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Tue Sep 17 12:36:05 2019 +0200
testbot/WineRunTask: Make the GetAgent() parameter more explicit.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 432bf51..d987df7 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");
More information about the wine-cvs
mailing list