From f68fe0045d3519d545d8e63b7ee470ece74fcc3f Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Tue, 23 Aug 2005 16:55:24 +0000 Subject: moving all server handlers into a specific server subdirectory git-svn-id: https://reductivelabs.com/svn/puppet/trunk@579 980ebf18-57e1-0310-9a29-db15c13687c0 --- test/executables/tc_puppetca.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test/executables') diff --git a/test/executables/tc_puppetca.rb b/test/executables/tc_puppetca.rb index e657de483..6f799c670 100755 --- a/test/executables/tc_puppetca.rb +++ b/test/executables/tc_puppetca.rb @@ -1,7 +1,6 @@ if __FILE__ == $0 $:.unshift '../../lib' - $:.unshift '../../../../library/trunk/lib/' - $:.unshift '../../../../library/trunk/test/' + $:.unshift '..' $puppetbase = "../.." end @@ -54,7 +53,7 @@ class TestPuppetCA < Test::Unit::TestCase @@tmpfiles << Puppet[:ssldir] Puppet[:autosign] = false assert_nothing_raised { - ca = Puppet::CA.new() + ca = Puppet::Server::CA.new() } #Puppet.warning "SSLDir is %s" % Puppet[:ssldir] #system("find %s" % Puppet[:ssldir]) @@ -70,7 +69,7 @@ class TestPuppetCA < Test::Unit::TestCase output = nil assert_nothing_raised { - output = %x{puppetca --list --ssldir=#{Puppet[:ssldir]} 2>&1}.chomp.split("\n") + output = %x{puppetca --list --ssldir=#{Puppet[:ssldir]} 2>&1}.chomp.split("\n").reject { |line| line =~ /warning:/ } # stupid ssl.rb } #Puppet.warning "SSLDir is %s" % Puppet[:ssldir] #system("find %s" % Puppet[:ssldir]) -- cgit