Francois Gouget : testbot/VMs: Always let the caller specify the WaitForToolsInGuest() timeout.
Alexandre Julliard
julliard at winehq.org
Wed Oct 24 13:21:02 CDT 2012
Module: tools
Branch: master
Commit: f6608b629242d1d146d65c2a7a38f0fa918ad0e7
URL: http://source.winehq.org/git/tools.git/?a=commit;h=f6608b629242d1d146d65c2a7a38f0fa918ad0e7
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Wed Oct 24 12:15:48 2012 +0200
testbot/VMs: Always let the caller specify the WaitForToolsInGuest() timeout.
There is only one caller and it already knows the timeout.
---
testbot/lib/WineTestBot/VMs.pm | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/testbot/lib/WineTestBot/VMs.pm b/testbot/lib/WineTestBot/VMs.pm
index 6dc8b8a..a356e98 100644
--- a/testbot/lib/WineTestBot/VMs.pm
+++ b/testbot/lib/WineTestBot/VMs.pm
@@ -344,11 +344,10 @@ sub PowerOff
return $self->UpdateStatus($Domain);
}
-sub WaitForToolsInGuest($;$)
+sub WaitForToolsInGuest($$)
{
my ($self, $Timeout) = @_;
- $Timeout ||= $WaitForToolsInVM;
my ($Status, $Err) = TestAgent::GetStatus($self->Hostname, $Timeout);
# In fact we don't care about the status
return $Err;
More information about the wine-cvs
mailing list