[3/5] testbot/VMs: Always let the caller specify the WaitForToolsInGuest() timeout.

Francois Gouget fgouget at codeweavers.com
Wed Oct 24 05:15:48 CDT 2012


There is only one caller and it already knows the timeout.
---
 testbot/lib/WineTestBot/VMs.pm |    3 +--
 1 file changed, 1 insertion(+), 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;
-- 
1.7.10.4




More information about the wine-patches mailing list