mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
Respond to feedback
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
This commit is contained in:
parent
f0c207dad9
commit
94d8d11120
4 changed files with 7 additions and 9 deletions
|
@ -96,7 +96,8 @@ describe 'inspec check' do
|
|||
invalid_profile = File.join(profile_path, 'invalid-include-controls')
|
||||
out = inspec('check ' + invalid_profile)
|
||||
out.exit_status.must_equal 1
|
||||
out.stderr.must_match /Cannot load 'invalid_name'/
|
||||
out.stderr.must_match /Cannot load 'no_such_profile'/
|
||||
out.stderr.must_match /not listed as a dependency/
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
# Invalid Include Controls
|
||||
|
||||
This profile contains an `include_controls` line with a invalid reference
|
|
@ -1,4 +1,4 @@
|
|||
# encoding: utf-8
|
||||
# copyright: 2018, The Authors
|
||||
|
||||
include_controls 'invalid_name'
|
||||
include_controls 'no_such_profile'
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
name: invalid-include-controls
|
||||
title: InSpec Profile
|
||||
title: Invalid Include Controls
|
||||
maintainer: The Authors
|
||||
copyright: The Authors
|
||||
copyright_email: you@example.com
|
||||
copyright_email: humans@chef.io
|
||||
license: Apache-2.0
|
||||
summary: An InSpec Compliance Profile
|
||||
summary: This profile contains an `include_controls` line with a invalid reference
|
||||
version: 0.1.0
|
||||
supports:
|
||||
platform: os
|
||||
platform: os
|
||||
|
|
Loading…
Reference in a new issue