aix group tests

This commit is contained in:
Jeremy W. Chalfant 2015-12-18 18:57:06 -06:00 committed by Christoph Hartmann
parent 26afecf857
commit 5f7dccc1b4

View file

@ -30,3 +30,20 @@ if os[:family] == 'freebsd'
its('gid') { should eq nil }
end
end
if os[:family] == 'aix'
describe group('system') do
it { should exist }
its('gid') { should eq 0 }
end
describe group('bin') do
it { should exist }
its('gid') { should eq 2 }
end
describe group('noroot') do
it { should_not exist }
its('gid') { should eq nil }
end
end