Sha256: a35cc645c264ddc41fedc916a02f6de4beb0d6376ec403e338d2e0647f539f8e
Contents?: true
Size: 470 Bytes
Versions: 34
Compression:
Stored size: 470 Bytes
Contents
require 'spec_helper' include SpecInfra::Helper::Solaris describe group('root') do it { should exist } its(:command) { should eq "getent group | grep -wq -- root" } end describe group('invalid-group') do it { should_not exist } end describe group('root') do it { should have_gid 0 } its(:command) { should eq "getent group | grep -- \\^root: | cut -f 3 -d ':' | grep -w -- 0" } end describe group('root') do it { should_not have_gid 'invalid-gid' } end
Version data entries
34 entries across 34 versions & 1 rubygems