inspec/test/unit
Jerry Aldrich 7098631d3e Infer --sudo when --sudo-password is used (#3313)
This does the following:
  - Adds `--sudo` if using `--sudo-password`
  - Warns the user if using `--sudo-password` without `--sudo`
  - Adds unit tests for `Inspec::BaseCLI#opts`

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-08-23 13:47:26 -04:00
..
bundles cli: Downcase supermarket tool name to match URL (#3242) 2018-07-25 15:59:19 -04:00
dependencies Add parent_profile field in json output (#3164) 2018-06-26 13:04:31 -04:00
dsl Generate describe code for an array of strings (#3227) 2018-07-19 15:00:21 -04:00
fetchers Fix the git fetcher to vendor correctly (#3097) 2018-05-31 13:53:14 -04:00
mock Plugins V2 API: CLI Command Plugin Type, Again (#3296) 2018-08-16 20:22:28 -04:00
objects bugfix: default attributes for nil and false (#2410) 2017-12-21 14:20:59 +01:00
plugin Plugins V2 API: CLI Command Plugin Type, Again (#3296) 2018-08-16 20:22:28 -04:00
profiles Remove conditional checks for true and reverse if conditional on 2018-08-09 12:12:47 -07:00
reporters Allow the jsonAutomate report to be executed from cli (#3285) 2018-08-14 20:07:59 -04:00
resource_supports/aws Capture ArgumentErrors from aws. (#2673) 2018-02-17 16:50:35 +01:00
resources Add cloudlinux under redhat family (#2935) 2018-08-22 15:58:38 -04:00
source_readers Sort gotten file list on test (#2812) 2018-03-14 09:35:43 -04:00
utils nginx_conf resource: Fix include paths with quotes (#2726) 2018-05-03 09:53:20 -04:00
base_cli_test.rb Infer --sudo when --sudo-password is used (#3313) 2018-08-23 13:47:26 -04:00
file_provider_test.rb Remove meaningless stdout message (#2313) 2017-11-17 15:56:36 -05:00
helper.rb Rely on unit test helper to load resources, not individual AWS tests 2018-02-07 12:09:08 -05:00
runner_test.rb Allow ad-hoc runners to use rspec formats. (#2621) 2018-02-12 19:29:54 +01:00
shell_detector_test.rb Corrected some unit test warnings (#2242) 2017-10-17 14:49:26 +02:00