Francois Gouget : testbot/TestAgent: Don' t try to parse $TunnelOpt as an SSH URI if it is set to 'never'.

Alexandre Julliard julliard at winehq.org
Mon Feb 25 14:02:21 CST 2013


Module: tools
Branch: master
Commit: da1496d337c3970e5cbc26db41d6247e48a2af35
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=da1496d337c3970e5cbc26db41d6247e48a2af35

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Feb 25 17:03:11 2013 +0100

testbot/TestAgent: Don't try to parse $TunnelOpt as an SSH URI if it is set to 'never'.

---

 testbot/scripts/TestAgent |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/testbot/scripts/TestAgent b/testbot/scripts/TestAgent
index 78d9c24..d25a3d6 100755
--- a/testbot/scripts/TestAgent
+++ b/testbot/scripts/TestAgent
@@ -271,7 +271,7 @@ if (defined $Usage)
 
 $TunnelOpt = $Tunnel if (!defined $TunnelOpt);
 my $TunnelInfo;
-if ($TunnelOpt)
+if ($TunnelOpt and $TunnelOpt =~ /^ssh:/)
 {
     my $ParsedURI = URI->new($TunnelOpt);
     %$TunnelInfo = %$TunnelDefaults if ($TunnelDefaults);




More information about the wine-cvs mailing list