summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2013-05-20 16:14:26 +0100
committerSteve Kemp <steve@steve.org.uk>2013-05-20 16:14:26 +0100
commit1fa9c5c06d2e8fc8f0fbc511a460d7b324eb69e5 (patch)
tree089d20c4a5ca046d6278a473c4f0f3a4df16d291
parent8eb490c4541c1babccbc83c43467a6d3e10c945e (diff)
Updated to read from the socket.
-rw-r--r--lib/custodian/protocoltest/ftp.rb2
-rw-r--r--lib/custodian/protocoltest/pop3.rb2
-rw-r--r--lib/custodian/protocoltest/rsync.rb2
-rw-r--r--lib/custodian/protocoltest/smtp.rb2
-rw-r--r--lib/custodian/protocoltest/ssh.rb2
5 files changed, 5 insertions, 5 deletions
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