inspec/test/unit
Bryan McLellan dada8ea074 Add the generic 'darwin' to the service resource
macOS 11 Big Sur will be released later this year. Current beta versions
return 10.16 as the version, but the product name has changed from 'Mac
OS X' to 'macOS'. Train probably needs to be modified to deprecate
'mac_os_x' as a platform in favor of 'macos' but that would be a
significant downstream change. Train does fall back to 'darwin' on macOS
10.16, so by adding darwin to the list of platform names for the service
resource we are able to work around this for the moment.

This is the only location where mac_os_x is currently being used in
InSpec. Because we're in a case statement on platform rather than the
more generic platform family, we can't simply remove mac_os_x in favor
of darwin.

Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2020-07-02 09:36:27 -04:00
..
bundles/inspec-supermarket First pass at cleaning deprecations for old minitest/spec-style tests. 2019-10-03 13:45:19 -07:00
dependencies First pass at cleaning deprecations for old minitest/spec-style tests. 2019-10-03 13:45:19 -07:00
dsl Singularize the fetchers directory name 2019-11-22 09:57:28 -05:00
fetchers Raise FetcherFailure for url headers missing 2019-12-04 13:32:58 -05:00
inputs Switched chefstyle back to Layout/AlignArguments=with_first_argument. 2019-11-08 12:57:43 -08:00
matchers Fixed tests to work with rspec-expectations 3.8.5+. 2019-10-02 18:08:19 -07:00
plugin Review skip_windows violations and expiration 2020-07-02 11:53:38 +01:00
profiles issue 4807: test for inputs in profiles (#4883) 2020-02-04 14:54:29 -05:00
reporters Revert "Make CLI reporter into a plugin" 2020-06-18 12:30:15 +01:00
resource_supports/aws Tweak for aws resources to determine if they're still under test. 2020-02-03 14:41:37 -08:00
resources Add the generic 'darwin' to the service resource 2020-07-02 09:36:27 -04:00
schema Clean up schema PR. 2020-02-05 17:06:55 -08:00
source_readers First pass at cleaning deprecations for old minitest/spec-style tests. 2019-10-03 13:45:19 -07:00
utils Detect install type via install path (#4856) 2020-02-10 15:36:04 -05:00
backend_test.rb Removed metaprogramming in Inspec::Backend. 2020-02-03 14:41:37 -08:00
base_cli_test.rb First pass at cleaning deprecations for old minitest/spec-style tests. 2019-10-03 13:45:19 -07:00
cached_fetcher_test.rb These tests probably never passed. 2019-07-29 11:42:30 -07:00
config_test.rb First pass at cleaning deprecations for old minitest/spec-style tests. 2019-10-03 13:45:19 -07:00
file_provider_test.rb Fix TarProvider when the tarball has empty files in it. 2019-10-18 14:30:00 -07:00
impact_test.rb First pass at cleaning deprecations for old minitest/spec-style tests. 2019-10-03 13:45:19 -07:00
json_profile_summary_test.rb Stores output of inspec json to archive and artifact 2020-05-20 12:34:17 +01:00
resource_test.rb Merged Inspec::Plugins::Resource to Inspec::Resource. 2020-02-03 14:41:37 -08:00
runner_test.rb Singularize the fetchers directory name 2019-11-22 09:57:28 -05:00
shell_detector_test.rb Please stop warning about mocha. 2020-02-03 14:49:47 -08:00
ui_test.rb First pass at cleaning deprecations for old minitest/spec-style tests. 2019-10-03 13:45:19 -07:00