浏览代码

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 年前
父节点
当前提交
b6aaea6bfa
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 7 次插入4 次删除
  1. +7
    -4
      test/integration/default/controls/config_spec.rb

+ 7
- 4
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'

正在加载...
取消
保存