summaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-27 17:36:42 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-27 17:36:42 +0000
commit244a11d36f70ea38a85de709dc7cfcb80b610f7e (patch)
treed346e49b891719dcddeea38de9934beb076fe88b /test/lib
parent674841cd2b218e1425b0337d1839d54392c5b2b9 (diff)
downloadpuppet-244a11d36f70ea38a85de709dc7cfcb80b610f7e.tar.gz
puppet-244a11d36f70ea38a85de709dc7cfcb80b610f7e.tar.xz
puppet-244a11d36f70ea38a85de709dc7cfcb80b610f7e.zip
Fixing what I hope are the last batch of problems caused by the addition of the suidmanager module. Also fixing a couple of other small issues that somehow cropped up. All tests should now pass again.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1699 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/puppettest.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lib/puppettest.rb b/test/lib/puppettest.rb
index e8b328de3..e7ee99c35 100644
--- a/test/lib/puppettest.rb
+++ b/test/lib/puppettest.rb
@@ -151,6 +151,10 @@ module PuppetTest
@@cleaners.each { |cleaner| cleaner.call() }
@@tmpfiles.each { |file|
+ unless file =~ /tmp/
+ puts "Not deleting tmpfile %s" % file
+ next
+ end
if FileTest.exists?(file)
system("chmod -R 755 %s" % file)
system("rm -rf %s" % file)