https://github.com/multani/inspec-issue-4769
Test case for inspec issue 4769
https://github.com/multani/inspec-issue-4769
Last synced: 10 months ago
JSON representation
Test case for inspec issue 4769
- Host: GitHub
- URL: https://github.com/multani/inspec-issue-4769
- Owner: multani
- Created: 2019-12-06T13:14:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-16T23:04:17.000Z (over 6 years ago)
- Last Synced: 2025-01-23T02:24:44.301Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Current behavior:
```
$ bundle exec inspec exec ./profile --input-file $PWD/test-inputs.yml
[2019-12-06T14:10:18+01:00] WARN: Input 'foo' does not have a value. Use --input-file to provide a value for 'foo' or specify a value with `attribute('foo', value: 'somevalue', ...)`.
[2019-12-06T14:10:18+01:00] WARN: Input 'bar' does not have a value. Use --input-file to provide a value for 'bar' or specify a value with `attribute('bar', value: 'somevalue', ...)`.
Profile: default
Version: (not specified)
Target: local://
× some control: Command: `ls` (2 failed)
× Command: `ls` exit_status should cmp == 42
expected: 42
got: 0
(compared using `cmp` matcher)
× File test-file content should cmp == "hello"
expected: "hello"
got: "foobar\n"
(compared using `cmp` matcher)
Profile Summary: 0 successful controls, 1 control failure, 0 controls skipped
Test Summary: 0 successful, 2 failures, 0 skipped
```