diff options
Diffstat (limited to 'lib/custodian/protocoltest/ssh.rb')
-rw-r--r-- | lib/custodian/protocoltest/ssh.rb | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/custodian/protocoltest/ssh.rb b/lib/custodian/protocoltest/ssh.rb index 73f23da..ec7752f 100644 --- a/lib/custodian/protocoltest/ssh.rb +++ b/lib/custodian/protocoltest/ssh.rb @@ -7,10 +7,11 @@ ### foo.vm.bytemark.co.uk must run ssh on 22 otherwise 'ssh fail'. ### # -# The specification of the port is mandatory. +# The specification of the port is optional. # class SSHTest < TCPTest + # # The host to test against. # @@ -46,6 +47,8 @@ class SSHTest < TCPTest end + + # # Helper for development. # @@ -54,6 +57,8 @@ class SSHTest < TCPTest end + + # # Run the TCP-protocol test. # @@ -66,6 +71,8 @@ class SSHTest < TCPTest end + + # # If the test fails then report the error. # @@ -73,6 +80,12 @@ class SSHTest < TCPTest @error end + + + register_test_type "ssh" + + + end |