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 | d34921fadbed5978c7374e18993a81a06336978a (patch) | |
| tree | 90d3d6c0aa52de5d91b1d86113258f5e2c7d9430 /lib | |
| parent | ea44deee383e1d2584bd250ca44ef0328e5d1baa (diff) | |
  Parse the banner.
Diffstat (limited to 'lib')
| -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 | 
