Browse Source

test(inspec): fix `config_spec` tests on *BSD (`wheel` not `root`)

tags/v0.42.3
Imran Iqbal 5 years ago
parent
commit
047b753a9e
No account linked to committer's email address
1 changed files with 7 additions and 4 deletions
  1. +7
    -4
      test/integration/default/controls/config_spec.rb

+ 7
- 4
test/integration/default/controls/config_spec.rb View File

@@ -1,8 +1,11 @@
# Overide by Platform
root_group = 'root'
if platform[:family] == 'freebsd'
root_group = 'wheel'
end
root_group =
case platform[:family]
when 'bsd'
'wheel'
else
'root'
end

control 'openssh configuration' do
title 'should match desired lines'

Loading…
Cancel
Save