diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-08 00:02:23 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-08 00:02:23 +0000 |
| commit | cbf10c5e365fb7440c89321a2c329e40424d30b4 (patch) | |
| tree | 6be719c4848e73d75d8661f240cd4e1e2f1f2a1d /test/executables/puppetmodule.rb | |
| parent | 23f982ecda3fd74867d404b5e784f072db9a1cde (diff) | |
| download | puppet-cbf10c5e365fb7440c89321a2c329e40424d30b4.tar.gz puppet-cbf10c5e365fb7440c89321a2c329e40424d30b4.tar.xz puppet-cbf10c5e365fb7440c89321a2c329e40424d30b4.zip | |
Merging changes from the head of the rework1 branch, r 784
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@787 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 |
