diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-19 18:04:20 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-19 18:04:20 +0000 |
| commit | 3891f48119ea01d04d7495cf2f07a9ddb37b2afc (patch) | |
| tree | 564c02bc5cc3498a440ddea80e96a8852791c528 /test/certmgr | |
| parent | dcab464f8db80e6d8c91a595a77875222f2927bf (diff) | |
Converting to using the Rakefile for testing. The old 'test' script is
now deprecated, and I'll send an email to the dev list and update the
docs to reflect that.
This still isn't the final solution, because the module structure is a
bit weird, but at least it's a starting point, and everything from here
on out is small changes, as opposed to large architectural changes.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1632 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/certmgr')
| -rwxr-xr-x | test/certmgr/certmgr.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/test/certmgr/certmgr.rb b/test/certmgr/certmgr.rb index 2275e9953..cc95822ee 100755 --- a/test/certmgr/certmgr.rb +++ b/test/certmgr/certmgr.rb @@ -1,14 +1,7 @@ #!/usr/bin/ruby -if __FILE__ == $0 - $:.unshift '../../lib' - $:.unshift '..' - $puppetbase = "../.." -end - require 'puppet' require 'puppet/sslcertificates.rb' -require 'test/unit' require 'puppettest' # so, what kind of things do we want to test? @@ -21,7 +14,7 @@ require 'puppettest' # and test whether we've got things in the right scopes class TestCertMgr < Test::Unit::TestCase - include TestPuppet + include PuppetTest def setup super #@dir = File.join(Puppet[:certdir], "testing") |
