summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/ssh.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-22 15:38:07 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-22 15:38:07 +0000
commit918d964adee64d0a14fc80797def1070c39061b3 (patch)
tree25662cfd3ca6e73855d16ef8937f0ba2ff97603e /lib/custodian/protocoltest/ssh.rb
parentc3a3f054ada31db25db4194ecb4a17db7fdb1c47 (diff)
Parse the configuration file into arrays of jobs, via our test-factory
Diffstat (limited to 'lib/custodian/protocoltest/ssh.rb')
-rw-r--r--lib/custodian/protocoltest/ssh.rb18
1 files changed, 3 insertions, 15 deletions
diff --git a/lib/custodian/protocoltest/ssh.rb b/lib/custodian/protocoltest/ssh.rb
index b8a6354..205099e 100644
--- a/lib/custodian/protocoltest/ssh.rb
+++ b/lib/custodian/protocoltest/ssh.rb
@@ -68,29 +68,17 @@ module Custodian
#
- # Helper for development.
+ # Allow this test to be serialized.
#
def to_s
- "ssh-test of #{@host}:#{@port}."
+ return( @line )
end
#
- # Convert this class to JSON such that it may be
- # serialized.
- #
- def to_json
- hash = { :line => @line }
- hash.to_json
- end
-
-
-
-
- #
- # Run the TCP-protocol test.
+ # Run the test.
#
def run_test