From 1fa9c5c06d2e8fc8f0fbc511a460d7b324eb69e5 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 20 May 2013 16:14:26 +0100 Subject: Updated to read from the socket. --- lib/custodian/protocoltest/ftp.rb | 2 +- lib/custodian/protocoltest/pop3.rb | 2 +- lib/custodian/protocoltest/rsync.rb | 2 +- lib/custodian/protocoltest/smtp.rb | 2 +- lib/custodian/protocoltest/ssh.rb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/custodian/protocoltest') diff --git a/lib/custodian/protocoltest/ftp.rb b/lib/custodian/protocoltest/ftp.rb index f792a00..a3b0042 100644 --- a/lib/custodian/protocoltest/ftp.rb +++ b/lib/custodian/protocoltest/ftp.rb @@ -76,7 +76,7 @@ module Custodian # reset the error, in case we were previously executed. @error = nil - run_test_internal( @host, @port, "^220" ) + run_test_internal( @host, @port, "^220", true ) end diff --git a/lib/custodian/protocoltest/pop3.rb b/lib/custodian/protocoltest/pop3.rb index eeb31bf..6d33171 100644 --- a/lib/custodian/protocoltest/pop3.rb +++ b/lib/custodian/protocoltest/pop3.rb @@ -76,7 +76,7 @@ module Custodian # reset the error, in case we were previously executed. @error = nil - run_test_internal( @host, @port, /\+OK/i ) + run_test_internal( @host, @port, /\+OK/i, true ) end diff --git a/lib/custodian/protocoltest/rsync.rb b/lib/custodian/protocoltest/rsync.rb index 544fb66..7eeac4f 100644 --- a/lib/custodian/protocoltest/rsync.rb +++ b/lib/custodian/protocoltest/rsync.rb @@ -78,7 +78,7 @@ module Custodian # reset the error, in case we were previously executed. @error = nil - run_test_internal( @host, @port, /^@RSYNCD/ ) + run_test_internal( @host, @port, /^@RSYNCD/, true ) end diff --git a/lib/custodian/protocoltest/smtp.rb b/lib/custodian/protocoltest/smtp.rb index 0babcd2..819e795 100644 --- a/lib/custodian/protocoltest/smtp.rb +++ b/lib/custodian/protocoltest/smtp.rb @@ -74,7 +74,7 @@ module Custodian # reset the error, in case we were previously executed. @error = nil - run_test_internal( @host, @port, /^220/ ) + run_test_internal( @host, @port, /^220/, true ) end diff --git a/lib/custodian/protocoltest/ssh.rb b/lib/custodian/protocoltest/ssh.rb index 5e5a720..309a52a 100644 --- a/lib/custodian/protocoltest/ssh.rb +++ b/lib/custodian/protocoltest/ssh.rb @@ -77,7 +77,7 @@ module Custodian # reset the error, in case we were previously executed. @error = nil - run_test_internal( @host, @port, /SSH/i ) + run_test_internal( @host, @port, /SSH/i, true ) end -- cgit v1.2.1