diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-24 06:01:58 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-24 06:01:58 +0000 |
| commit | ae2575b45de1e8f4c0ec956cebe0eed2bafbcf57 (patch) | |
| tree | 9c2b7c839087c285c228374f525315e55c392a34 /test | |
| parent | 18e8e74a2e3b4c5d092fc0aae38bbc5455d4db48 (diff) | |
| download | puppet-ae2575b45de1e8f4c0ec956cebe0eed2bafbcf57.tar.gz puppet-ae2575b45de1e8f4c0ec956cebe0eed2bafbcf57.tar.xz puppet-ae2575b45de1e8f4c0ec956cebe0eed2bafbcf57.zip | |
Adding the event-loop stuff to the repository and switching to using it. Also, breaking many classes out into their own class files.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@848 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
| -rwxr-xr-x | test/executables/puppetd.rb | 1 | ||||
| -rwxr-xr-x | test/language/snippets.rb | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/test/executables/puppetd.rb b/test/executables/puppetd.rb index 68b9b5f08..90733ed19 100755 --- a/test/executables/puppetd.rb +++ b/test/executables/puppetd.rb @@ -25,6 +25,7 @@ class TestPuppetDExe < Test::Unit::TestCase cmd = "puppetd" cmd += " --verbose" + cmd += " --onetime" #cmd += " --fqdn %s" % fqdn cmd += " --port %s" % @@port cmd += " --confdir %s" % Puppet[:puppetconf] diff --git a/test/language/snippets.rb b/test/language/snippets.rb index 413fd1035..0e217bbbe 100755 --- a/test/language/snippets.rb +++ b/test/language/snippets.rb @@ -442,10 +442,15 @@ class TestSnippets < Test::Unit::TestCase Puppet::Type.eachtype { |type| type.each { |obj| - unless obj.name == "puppet[top]" + unless obj.name == "puppet[top]" or + obj.is_a?(Puppet.type(:schedule)) assert(obj.parent, "%s has no parent" % obj.name) end assert(obj.name) + + if obj.is_a?(Puppet.type(:file)) + @@tmpfiles << obj.name + end } } assert_nothing_raised { |
