mirror of
https://github.com/inspec/inspec
synced 2025-03-07 08:47:29 +00:00
Skip functional cookstyle tests on windows
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
6ecbc67642
commit
48976409ea
1 changed files with 2 additions and 0 deletions
|
@ -120,12 +120,14 @@ describe "inspec check" do
|
|||
|
||||
describe "inspec check also check for cookstyle offenses" do
|
||||
it "finds no offenses in a complete profile" do
|
||||
skip if windows? # see #5723
|
||||
out = inspec("check #{profile_path}/complete-profile")
|
||||
_(out.stdout).must_match(/No errors, warnings, or offenses/)
|
||||
assert_exit_code 0, out
|
||||
end
|
||||
|
||||
it "fails and returns offenses in a profile" do
|
||||
skip if windows? # see #5723
|
||||
out = inspec("check #{profile_path}/inputs/metadata-basic")
|
||||
_(out.stdout).must_match(/1 offenses/)
|
||||
assert_exit_code 1, out
|
||||
|
|
Loading…
Add table
Reference in a new issue