test/executables/puppetca.rb in puppet-0.16.0 vs test/executables/puppetca.rb in puppet-0.18.4

- old
+ new

@@ -27,11 +27,11 @@ def runca(args) debug = "" if Puppet[:debug] debug = "-d " end - return %x{puppetca --user=#{Puppet[:user]} #{debug} --group=#{Puppet[:group]} --confdir=#{Puppet[:confdir]} #{args} 2>&1} + return %x{puppetca --user=#{Puppet[:user]} #{debug} --group=#{Puppet[:group]} --confdir=#{Puppet[:confdir]} --vardir=#{Puppet[:vardir]} #{args} 2>&1} end def test_signing ca = nil @@ -80,10 +80,10 @@ end assert_nothing_raised { output = runca("--list").chomp.split("\n") } assert_equal($?,0) - assert_equal([], output) + assert_equal(["No certificates to sign"], output) end end -# $Id: puppetca.rb 1113 2006-04-17 16:15:33Z luke $ +# $Id: puppetca.rb 1256 2006-06-13 15:57:06Z luke $