inspec/test/unit
Jerry Aldrich 944dfdc987 grub_conf resource: fix menuentry detection (#2408)
* Fix `grub_conf` menuentry detection

This does the following:
  - Corrects Grub2 bug where last entry was always selected
  - Adds support for specifying a Grub2 menu entry by name
  - Adds support for using `GRUB_DEFAULT=saved` with Grub2
  - Adds more Unit tests

* Add error if menuentry name cannot be extracted
* Add handling for missing/unreadable grubenv
* Add defensive code for failed menuentry extraction
2018-01-18 13:20:48 -08:00
..
bundles Fix OWCA detection for compliance login (#2401) 2017-12-22 15:01:18 +01:00
dependencies Properly compare profile version strings as SemVer (#2280) 2017-11-09 12:29:41 +01:00
dsl Include ref when writing out inspec control objects (#2259) 2017-10-24 17:50:23 -04:00
fetchers Don't send HTTP headers that have nil values (#1948) 2017-06-21 19:09:13 -05:00
mock grub_conf resource: fix menuentry detection (#2408) 2018-01-18 13:20:48 -08:00
objects bugfix: default attributes for nil and false (#2410) 2017-12-21 14:20:59 +01:00
plugins Add platform resource and platform supports (#2393) 2018-01-02 11:04:13 -08:00
profiles bugfix: dependency chaining in libraries (#2428) 2018-01-02 12:41:01 -08:00
resources grub_conf resource: fix menuentry detection (#2408) 2018-01-18 13:20:48 -08:00
source_readers Source reader should not hand back files with nil contents (#2003) 2017-07-11 21:33:55 +02:00
utils nginx resource: support quoted identifiers (#2292) 2017-11-08 12:42:37 -05:00
base_cli_test.rb Update default cli options to be per command. (#2378) 2017-12-07 13:19:36 +01:00
file_provider_test.rb Remove meaningless stdout message (#2313) 2017-11-17 15:56:36 -05:00
rspec_json_formatter_test.rb Update rspec cli control summary to not uniq fails. (#2362) 2017-12-05 13:07:31 +01:00
runner_test.rb Fix inspec appveyor test with the new local train transport (#2376) 2017-12-06 15:18:38 -05:00
shell_detector_test.rb Corrected some unit test warnings (#2242) 2017-10-17 14:49:26 +02:00