summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2013-05-15 14:51:43 +0100
committerSteve Kemp <steve@steve.org.uk>2013-05-15 14:51:43 +0100
commit63fa4dc45bd25062f7dfb485cb5a49ae029da1b2 (patch)
treec181d25bfdca0d2e08c36c2fb3a8d2d0704bafca
parentab0729a1ce0f52688b408e383f791e487d3c0d61 (diff)
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
-rw-r--r--lib/custodian/protocoltest/ftp.rb2
-rw-r--r--lib/custodian/protocoltest/mysql.rb2
-rw-r--r--lib/custodian/protocoltest/pop3.rb4
-rw-r--r--lib/custodian/protocoltest/redis.rb2
-rw-r--r--lib/custodian/protocoltest/smtp.rb2
-rw-r--r--lib/custodian/protocoltest/ssh.rb4
6 files changed, 8 insertions, 8 deletions
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