summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/custodian/parser.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/custodian/parser.rb b/lib/custodian/parser.rb
index 6407621..fb62e13 100644
--- a/lib/custodian/parser.rb
+++ b/lib/custodian/parser.rb
@@ -384,6 +384,14 @@ class MonitorConfig
#
+ # TCP-tests will include a banner, optionally
+ #
+ if ( line =~ /\s+with\s+banner\s+'([^']+)'/ )
+ test[:banner]=$1.dup
+ end
+
+
+ #
# HTTP-tests will include the expected result in one of two forms:
#
# must run http with status 200