Selaa lähdekoodia
Merge pull request #171 from myii/test/fix-tests-on-BSD
test(inspec): fix `config_spec` tests on *BSD (`wheel` not `root`)
tags/v0.42.3
Niels Abspoel
5 vuotta sitten
vanhempi
commit
b6aaea6bfa
No account linked to committer's email address
1 muutettua tiedostoa jossa
7 lisäystä ja
4 poistoa
-
test/integration/default/controls/config_spec.rb
|
|
@@ -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' |