diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-07 23:23:31 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-07 23:23:31 +0000 |
commit | 1d739731b20a5dd10a190d783556d5c5a0275137 (patch) | |
tree | faaa554a9dae6491152c9b7018109a33a5e206bb /test/executables/puppetmodule.rb | |
parent | 3ba696de8829399ba9ade3712d00a8c6adc4667e (diff) | |
download | puppet-1d739731b20a5dd10a190d783556d5c5a0275137.tar.gz puppet-1d739731b20a5dd10a190d783556d5c5a0275137.tar.xz puppet-1d739731b20a5dd10a190d783556d5c5a0275137.zip |
Merging in refactoring from version 774 into version 784
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@785 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/executables/puppetmodule.rb')
-rwxr-xr-x | test/executables/puppetmodule.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/executables/puppetmodule.rb b/test/executables/puppetmodule.rb index 2e97a963a..429e29e36 100755 --- a/test/executables/puppetmodule.rb +++ b/test/executables/puppetmodule.rb @@ -19,11 +19,15 @@ 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() @@ -41,6 +45,7 @@ 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 |