summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-29 00:53:29 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-29 00:53:29 +0000
commitb7560d54ebf1b8908e4961c6667cb9c8ec1e00dc (patch)
treed6a3598c4868fea1b8f0fea5c4057e480ac010dd /test
parent3aff4a0e9debfe22bd2a4b024b89410f481d09f7 (diff)
A couple small bug-fixes
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2110 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
-rwxr-xr-xtest/types/resources.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/types/resources.rb b/test/types/resources.rb
index 03df5e4ab..cdf0e68fb 100755
--- a/test/types/resources.rb
+++ b/test/types/resources.rb
@@ -182,7 +182,7 @@ class TestResources < Test::Unit::TestCase
else
# We'll reset the limit, since we can't really guarantee that
# there are any users with uid > 500
- if ! high and entry.uid > 100
+ if ! high and entry.uid > 100 and ! res.system_users.include?(entry.name)
high = entry.name
break
end