summaryrefslogtreecommitdiffstats
path: root/test/puppet/tc_suidmanager.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-29 19:01:05 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-29 19:01:05 +0000
commit8214c485816bc852ee33636494b4fd447629961f (patch)
tree0c69412bf59906b08ae6bf027922a63946f4c5d2 /test/puppet/tc_suidmanager.rb
parentde304e50c085aaaba246862de45163cedf0f617f (diff)
downloadpuppet-8214c485816bc852ee33636494b4fd447629961f.tar.gz
puppet-8214c485816bc852ee33636494b4fd447629961f.tar.xz
puppet-8214c485816bc852ee33636494b4fd447629961f.zip
Fixing suidmanager so it uses warnonce instead of using a variable that only existed in Util
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1705 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/puppet/tc_suidmanager.rb')
-rw-r--r--test/puppet/tc_suidmanager.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/puppet/tc_suidmanager.rb b/test/puppet/tc_suidmanager.rb
index 04cbed8e6..c9b843147 100644
--- a/test/puppet/tc_suidmanager.rb
+++ b/test/puppet/tc_suidmanager.rb
@@ -46,7 +46,7 @@ class TestSUIDManager < Test::Unit::TestCase
end
end
def test_utiluid
- user = nonrootuser
+ user = nonrootuser.name
if @run
assert_not_equal(nil, Puppet::Util.uid(user))
end
@@ -89,4 +89,4 @@ class TestSUIDManager < Test::Unit::TestCase
end
end
-# $Id:$ \ No newline at end of file
+# $Id:$