more port check tests...

This commit is contained in:
ts
2019-02-02 17:23:42 +00:00
parent 17ed03a327
commit 606f267b2c
6 changed files with 89 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
require_relative '../../../../../lib/post_provision_test'
class MySQLStretchTest < PostProvisionTest
def initialize
self.module_name = 'mysql_stretch_compatible'
self.module_path = get_module_path(__FILE__)
super
self.port = 3306
end
def test_module
super
test_service_up
end
end
MySQLStretchTest.new.run

View File

@@ -0,0 +1,17 @@
require_relative '../../../../../lib/post_provision_test'
class MySQLWheezyTest < PostProvisionTest
def initialize
self.module_name = 'mysql_wheezy_compatible'
self.module_path = get_module_path(__FILE__)
super
self.port = 3306
end
def test_module
super
test_service_up
end
end
MySQLWheezyTest.new.run

View File

@@ -14,6 +14,10 @@
<reference>https://httpd.apache.org/</reference>
<software_license>Apache v2</software_license>
<conflict>
<type>webapp</type>
</conflict>
<requires>
<module_path>.*apache</module_path>
<type>httpd</type>

View File

@@ -0,0 +1,17 @@
require_relative '../../../../../lib/post_provision_test'
class ApacheBashCGITest < PostProvisionTest
def initialize
self.module_name = 'apache_bash_cgi'
self.module_path = get_module_path(__FILE__)
super
self.port = 80
end
def test_module
super
test_service_up
end
end
ApacheBashCGITest.new.run

View File

@@ -0,0 +1,17 @@
require_relative '../../../../../lib/post_provision_test'
class IRC2Test < PostProvisionTest
def initialize
self.module_name = 'irc2'
self.module_path = get_module_path(__FILE__)
super
self.port = 6667
end
def test_module
super
test_service_up
end
end
IRC2Test.new.run

View File

@@ -0,0 +1,17 @@
require_relative '../../../../../lib/post_provision_test'
class DistCCExecTest < PostProvisionTest
def initialize
self.module_name = 'distcc_exec'
self.module_path = get_module_path(__FILE__)
super
self.port = 3632
end
def test_module
super
test_service_up
end
end
DistCCExecTest.new.run