summaryrefslogtreecommitdiffstats
path: root/test/ral/manager
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-04-25 20:59:00 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-04-25 20:59:00 +0000
commit0aeda974813104c0f0e940f75c4d19888515f7fc (patch)
tree92acbb9a3fcc97ca8b65db23ec7914ce47374cd3 /test/ral/manager
parent7fbd3ffe886e821a4e85e2fe9a27529133f1b84b (diff)
downloadpuppet-0aeda974813104c0f0e940f75c4d19888515f7fc.tar.gz
puppet-0aeda974813104c0f0e940f75c4d19888515f7fc.tar.xz
puppet-0aeda974813104c0f0e940f75c4d19888515f7fc.zip
Adding the ability to manage passwords with the useradd provider
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2414 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/ral/manager')
-rwxr-xr-xtest/ral/manager/attributes.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ral/manager/attributes.rb b/test/ral/manager/attributes.rb
index a23a5e9ce..43f716ec2 100755
--- a/test/ral/manager/attributes.rb
+++ b/test/ral/manager/attributes.rb
@@ -283,7 +283,9 @@ class TestTypeAttributes < Test::Unit::TestCase
yes.each { |a| assert(resource.should(a), "Did not get value for %s in %s" % [a, prov.name]) }
no.each do |a|
assert_nil(resource.should(a), "Got value for unsupported %s in %s" % [a, prov.name])
- assert(@logs.find { |l| l.message =~ /not managing attribute #{a}/ and l.level == :info }, "No warning about failed %s" % a)
+ if Puppet::Util::Log.sendlevel?(:info)
+ assert(@logs.find { |l| l.message =~ /not managing attribute #{a}/ and l.level == :info }, "No warning about failed %s" % a)
+ end
end
@logs.clear