diff options
| -rw-r--r-- | lib/custodian/testfactory.rb | 1 | ||||
| -rwxr-xr-x | t/test-custodian-testfactory.rb | 2 | 
2 files changed, 3 insertions, 0 deletions
| diff --git a/lib/custodian/testfactory.rb b/lib/custodian/testfactory.rb index 0f5a30d..770227f 100644 --- a/lib/custodian/testfactory.rb +++ b/lib/custodian/testfactory.rb @@ -78,6 +78,7 @@ module Custodian        if  line =~ /must\s+(not\s+)?run\s+(\S+)(\s+|\.|$)/          test_type = $2.dup +        test_type = test_type.downcase          test_type.chomp!('.')          if  @@subclasses[test_type].nil? diff --git a/t/test-custodian-testfactory.rb b/t/test-custodian-testfactory.rb index 934eb0c..63cf6c1 100755 --- a/t/test-custodian-testfactory.rb +++ b/t/test-custodian-testfactory.rb @@ -95,7 +95,9 @@ class TestTestFactory < Test::Unit::TestCase        'foo must run ssh.' => '22',        "foo must run mysql otherwise 'alert'"   => '3306',        "foo must run redis otherwise 'alert'"   => '6379', +      "foo must run rEDIs otherwise 'alert'"   => '6379',        "foo must run rdp otherwise 'alert'"   => '3389', +      "foo must run RDP otherwise 'alert'"   => '3389',        "foo must run mysql on 33 otherwise 'alert'"   => '33',      } | 
