diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-17 15:32:41 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-17 15:32:41 +0000 |
commit | bac589cdf4f85d1228cb4528094206b666a44c24 (patch) | |
tree | 90d3d6c0aa52de5d91b1d86113258f5e2c7d9430 | |
parent | 05cf090d7b9624aec885af0d021ce03fc508ef4d (diff) |
Parse the banner.
-rw-r--r-- | lib/custodian/parser.rb | 8 |
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 |