summaryrefslogtreecommitdiffstats
path: root/test/executables
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-10-03 23:14:53 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-10-03 23:14:53 +0000
commite563189acd0755a8d32ab956e758405fd3a6f40a (patch)
treef23ce377f66ad60129819d7d2d3e1412be51cbb7 /test/executables
parent9d3aaad7085164e1cc3d665269f9c99c17a7c45a (diff)
downloadpuppet-e563189acd0755a8d32ab956e758405fd3a6f40a.tar.gz
puppet-e563189acd0755a8d32ab956e758405fd3a6f40a.tar.xz
puppet-e563189acd0755a8d32ab956e758405fd3a6f40a.zip
switching test classes back to modules -- making them classes causes too many empty tests to run every time
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@714 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/executables')
-rwxr-xr-xtest/executables/tc_puppetbin.rb3
-rwxr-xr-xtest/executables/tc_puppetca.rb3
-rwxr-xr-xtest/executables/tc_puppetd.rb3
-rwxr-xr-xtest/executables/tc_puppetmasterd.rb3
4 files changed, 8 insertions, 4 deletions
diff --git a/test/executables/tc_puppetbin.rb b/test/executables/tc_puppetbin.rb
index 158666f47..4a3eb7946 100755
--- a/test/executables/tc_puppetbin.rb
+++ b/test/executables/tc_puppetbin.rb
@@ -21,7 +21,8 @@ libdirs = $:.find_all { |dir|
}
ENV["RUBYLIB"] = libdirs.join(":")
-class TestPuppetBin < ServerTest
+class TestPuppetBin < Test::Unit::TestCase
+ include ServerTest
def test_version
output = nil
assert_nothing_raised {
diff --git a/test/executables/tc_puppetca.rb b/test/executables/tc_puppetca.rb
index 1ef3203e1..61b83b178 100755
--- a/test/executables/tc_puppetca.rb
+++ b/test/executables/tc_puppetca.rb
@@ -21,7 +21,8 @@ libdirs = $:.find_all { |dir|
}
ENV["RUBYLIB"] = libdirs.join(":")
-class TestPuppetCA < ServerTest
+class TestPuppetCA < Test::Unit::TestCase
+ include ServerTest
def mkcert(hostname)
cert = nil
assert_nothing_raised {
diff --git a/test/executables/tc_puppetd.rb b/test/executables/tc_puppetd.rb
index bc78e6896..e7a55b480 100755
--- a/test/executables/tc_puppetd.rb
+++ b/test/executables/tc_puppetd.rb
@@ -22,7 +22,8 @@ libdirs = $:.find_all { |dir|
}
ENV["RUBYLIB"] = libdirs.join(":")
-class TestPuppetDExe < ExeTest
+class TestPuppetDExe < Test::Unit::TestCase
+ include ExeTest
def test_normalstart
# start the master
file = startmasterd
diff --git a/test/executables/tc_puppetmasterd.rb b/test/executables/tc_puppetmasterd.rb
index 9367cce80..7051f02a7 100755
--- a/test/executables/tc_puppetmasterd.rb
+++ b/test/executables/tc_puppetmasterd.rb
@@ -14,7 +14,8 @@ require 'facter'
# $Id$
-class TestPuppetMasterD < ExeTest
+class TestPuppetMasterD < Test::Unit::TestCase
+ include ExeTest
def getcerts
include Puppet::Daemon
if self.readcerts