From 4b3f47175b109c6da2fb738d05b037d80b0b87f4 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 15 May 2013 14:51:43 +0100 Subject: Updated the sample lines at the top of each protocol test. Full protocol-tests are documented online, in the project wiki at: https://projects.bytemark.co.uk/projects/custodian/wiki/TestDefinitionExamples --- lib/custodian/protocoltest/ftp.rb | 2 +- lib/custodian/protocoltest/mysql.rb | 2 +- lib/custodian/protocoltest/pop3.rb | 4 ++-- lib/custodian/protocoltest/redis.rb | 2 +- lib/custodian/protocoltest/smtp.rb | 2 +- lib/custodian/protocoltest/ssh.rb | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'lib') diff --git a/lib/custodian/protocoltest/ftp.rb b/lib/custodian/protocoltest/ftp.rb index 25271c6..f792a00 100644 --- a/lib/custodian/protocoltest/ftp.rb +++ b/lib/custodian/protocoltest/ftp.rb @@ -6,7 +6,7 @@ require 'custodian/protocoltest/tcp' # This object is instantiated if the parser sees a line such as: # ### -### foo.vm.bytemark.co.uk must run ftp on 22 otherwise 'ftp fail'. +### foo.vm.bytemark.co.uk must run ftp otherwise 'ftp fail'. ### # # The specification of the port is optional and defaults to 21 diff --git a/lib/custodian/protocoltest/mysql.rb b/lib/custodian/protocoltest/mysql.rb index 32867ab..d61a821 100644 --- a/lib/custodian/protocoltest/mysql.rb +++ b/lib/custodian/protocoltest/mysql.rb @@ -9,7 +9,7 @@ require 'custodian/protocoltest/tcp' ### foo.vm.bytemark.co.uk must run mysql otherwise 'database fail'. ### # -# The specification of the port is optional. +# The specification of the port is optional, and defaults to 3306. # module Custodian diff --git a/lib/custodian/protocoltest/pop3.rb b/lib/custodian/protocoltest/pop3.rb index a96762c..eeb31bf 100644 --- a/lib/custodian/protocoltest/pop3.rb +++ b/lib/custodian/protocoltest/pop3.rb @@ -6,10 +6,10 @@ require 'custodian/protocoltest/tcp' # This object is instantiated if the parser sees a line such as: # ### -### foo.vm.bytemark.co.uk must run pop otherwise 'ssh fail'. +### foo.vm.bytemark.co.uk must run pop otherwise 'pop3 fail'. ### # -# The specification of the port is optional. +# The specification of the port is optional and defaults to 110. # module Custodian diff --git a/lib/custodian/protocoltest/redis.rb b/lib/custodian/protocoltest/redis.rb index e2d032e..41c28c2 100644 --- a/lib/custodian/protocoltest/redis.rb +++ b/lib/custodian/protocoltest/redis.rb @@ -9,7 +9,7 @@ require 'custodian/protocoltest/tcp' ### foo.vm.bytemark.co.uk must run redis otherwise 'memory database fail'. ### # -# The specification of the port is optional. +# The specification of the port is optional and defaults to 6379 # module Custodian diff --git a/lib/custodian/protocoltest/smtp.rb b/lib/custodian/protocoltest/smtp.rb index f769c27..0babcd2 100644 --- a/lib/custodian/protocoltest/smtp.rb +++ b/lib/custodian/protocoltest/smtp.rb @@ -7,7 +7,7 @@ require 'custodian/protocoltest/tcp' # This object is instantiated if the parser sees a line such as: # ### -### foo.vm.bytemark.co.uk must run smtp on 22 otherwise 'SMTP fail'. +### foo.vm.bytemark.co.uk must run smtp otherwise 'SMTP fail'. ### # # The specification of the port is optional and defaults to 25. diff --git a/lib/custodian/protocoltest/ssh.rb b/lib/custodian/protocoltest/ssh.rb index 02916ea..a01404f 100644 --- a/lib/custodian/protocoltest/ssh.rb +++ b/lib/custodian/protocoltest/ssh.rb @@ -6,10 +6,10 @@ require 'custodian/protocoltest/tcp' # This object is instantiated if the parser sees a line such as: # ### -### foo.vm.bytemark.co.uk must run ssh on 22 otherwise 'ssh fail'. +### foo.vm.bytemark.co.uk must run ssh otherwise 'ssh fail'. ### # -# The specification of the port is optional. +# The specification of the port is optional, and defaults to 22. # module Custodian -- cgit v1.2.1