diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-07-29 13:06:01 +0300 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-07-29 13:06:01 +0300 |
commit | b698db43443e32b8c71b19a23f4265a22e343985 (patch) | |
tree | 7199389ab50bb7d43e32fead7e2292086a320042 /t | |
parent | 487c229014a5d6234b01d163f1b449511725a861 (diff) |
Loosen teh grammar on tcp-tests.
In the past we needed to write:
must run tcp on 3306.
Now we can add the "port" to match the rest of the tests:
must run tcp on port 3306.
Diffstat (limited to 't')
-rwxr-xr-x | t/test-custodian-testfactory.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/test-custodian-testfactory.rb b/t/test-custodian-testfactory.rb index 63cf6c1..f864544 100755 --- a/t/test-custodian-testfactory.rb +++ b/t/test-custodian-testfactory.rb @@ -98,6 +98,8 @@ class TestTestFactory < Test::Unit::TestCase "foo must run rEDIs otherwise 'alert'" => '6379', "foo must run rdp otherwise 'alert'" => '3389', "foo must run RDP otherwise 'alert'" => '3389', + "foo must run tcp on 22 otherwise 'alert'" => '22', + "foo must run tcp on port 22 otherwise 'alert'" => '22', "foo must run mysql on 33 otherwise 'alert'" => '33', } |