diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/puppettest.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/puppettest.rb b/test/puppettest.rb index 0bd7d80c5..2d291a91d 100644 --- a/test/puppettest.rb +++ b/test/puppettest.rb @@ -182,7 +182,7 @@ module TestPuppet def nonrootuser Etc.passwd { |user| - if user.uid != Process.uid + if user.uid != Process.uid and user.uid > 0 return user end } @@ -190,7 +190,7 @@ module TestPuppet def nonrootgroup Etc.group { |group| - if group.gid != Process.gid + if group.gid != Process.gid and group.gid > 0 return group end } |
