-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First real commit with stack dump, crude
Signed-off-by: Clinton Wolfe <[email protected]>
- Loading branch information
1 parent
1407147
commit f8e8748
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# run-context InSpec Text Profile | ||
|
||
This is a test inspec profile used to exercise the ability of InSpec to determine how it is being run | ||
under Test Kitchen and Audit Cookbook. | ||
|
||
It is not a typical profile and is not intended for normal public consumption, nor is it a good example. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
stack = caller_locations(4) | ||
control "json-stack" do | ||
describe JSON.dump(stack) do | ||
its('length') { should be 0 } # intentionally fail, just dump | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: inspec-test-profile-run-context | ||
title: InSpec Profile | ||
maintainer: InSpec Engineering | ||
copyright: Chef Software, Inc. | ||
copyright_email: [email protected] | ||
license: Apache-2.0 | ||
summary: An InSpec Compliance Profile to test inspec run context detection under test-kitchen | ||
version: 0.1.0 | ||
supports: | ||
platform: os |