diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-07 23:33:38 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-07 23:33:38 +0000 |
commit | 23f982ecda3fd74867d404b5e784f072db9a1cde (patch) | |
tree | 18a122eec695455c794caa554012fe1ee721ffa6 /test/executables | |
parent | 1d739731b20a5dd10a190d783556d5c5a0275137 (diff) | |
download | puppet-23f982ecda3fd74867d404b5e784f072db9a1cde.tar.gz puppet-23f982ecda3fd74867d404b5e784f072db9a1cde.tar.xz puppet-23f982ecda3fd74867d404b5e784f072db9a1cde.zip |
Undoing the merge that happened in 785
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@786 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/executables')
-rwxr-xr-x | test/executables/puppetbin.rb | 4 | ||||
-rwxr-xr-x | test/executables/puppetmodule.rb | 7 |
2 files changed, 2 insertions, 9 deletions
diff --git a/test/executables/puppetbin.rb b/test/executables/puppetbin.rb index f16ccbbf2..d075d8431 100755 --- a/test/executables/puppetbin.rb +++ b/test/executables/puppetbin.rb @@ -35,9 +35,7 @@ class TestPuppetBin < Test::Unit::TestCase output = nil cmd = "puppet" - if Puppet[:debug] - cmd += " --debug" - end + cmd += " --verbose" #cmd += " --fqdn %s" % fqdn cmd += " --confdir %s" % Puppet[:puppetconf] cmd += " --vardir %s" % Puppet[:puppetvar] diff --git a/test/executables/puppetmodule.rb b/test/executables/puppetmodule.rb index 429e29e36..2e97a963a 100755 --- a/test/executables/puppetmodule.rb +++ b/test/executables/puppetmodule.rb @@ -19,15 +19,11 @@ libdirs = $:.find_all { |dir| } ENV["RUBYLIB"] = libdirs.join(":") -$module = File.join($puppetbase, "ext", "module_puppet") +$module = File.join($puppetbase, "ext", "module:puppet") class TestPuppetModule < Test::Unit::TestCase include ServerTest - def test_existence - assert(FileTest.exists?($module), "Module does not exist") - end - def test_execution file = tempfile() @@ -45,7 +41,6 @@ class TestPuppetModule < Test::Unit::TestCase cmd += " --vardir %s" % Puppet[:puppetvar] if Puppet[:debug] cmd += " --logdest %s" % "console" - cmd += " --debug" else cmd += " --logdest %s" % "/dev/null" end |