diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-02-15 21:04:14 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-02-15 21:04:14 +0000 |
| commit | 6fe01cedeb2fe00df62bf63d7f7375d18d0663ca (patch) | |
| tree | a138de582c15714b724851c3ffc0fce5448fbedd /test/other | |
| parent | 8602932432c62630ec47a672fb79d6aa90dcbfc7 (diff) | |
| download | puppet-6fe01cedeb2fe00df62bf63d7f7375d18d0663ca.tar.gz puppet-6fe01cedeb2fe00df62bf63d7f7375d18d0663ca.tar.xz puppet-6fe01cedeb2fe00df62bf63d7f7375d18d0663ca.zip | |
Tracked down a few other bugs; everything now passes on debian in preparation for 0.13.2
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@914 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/other')
| -rw-r--r-- | test/other/log.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/other/log.rb b/test/other/log.rb index ad13b15bf..a138b198b 100644 --- a/test/other/log.rb +++ b/test/other/log.rb @@ -14,9 +14,15 @@ require 'test/unit' class TestLog < Test::Unit::TestCase include TestPuppet + def setup + super + @oldloglevel = Puppet::Log.level + end + def teardown super Puppet::Log.close + Puppet::Log.level = @oldloglevel end def getlevels @@ -44,6 +50,7 @@ class TestLog < Test::Unit::TestCase def test_logfile fact = nil levels = nil + oldlevel = Puppet::Log.level Puppet::Log.level = :debug levels = getlevels logfile = tempfile() |
