testbot/TestAgent: Set the connection Step before entering the eval section.

Francois Gouget fgouget at free.fr
Sun Mar 13 18:09:36 CDT 2016


This is mostly useful in case there is a syntax error in the eval section.

Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 testbot/lib/WineTestBot/TestAgent.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testbot/lib/WineTestBot/TestAgent.pm b/testbot/lib/WineTestBot/TestAgent.pm
index 0e71831..38c2184 100644
--- a/testbot/lib/WineTestBot/TestAgent.pm
+++ b/testbot/lib/WineTestBot/TestAgent.pm
@@ -865,6 +865,7 @@ sub _Connect($)
   my $Step;
   foreach my $Dummy (1..$self->{cattempts})
   {
+    my $Step = "initializing";
     eval
     {
       local $SIG{ALRM} = sub { die "timeout" };
-- 
2.7.0




More information about the wine-patches mailing list