inspec/test/unit
Jerry Aldrich III cbcca9f39e Modify Upstart enabled check to use config file (#2163)
This modifies the enabled check for the `service` resource to use the
service's config file instead of `initctl show-config`.

`initctl show-config` does not accurately show the state of a service if
that service's config file is modified while the service is running.

This fixes #1834.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2017-09-21 12:21:34 -04:00
..
bundles Support profile versions for automate profiles storage (#2128) 2017-09-13 16:53:36 -04:00
dependencies Bump lockfile version to 1.0 2016-09-26 09:51:04 +01:00
dsl New 'be_in' matcher for matching against values in a list (#2022) 2017-08-07 16:05:22 +02:00
fetchers Don't send HTTP headers that have nil values (#1948) 2017-06-21 19:09:13 -05:00
mock Modify Upstart enabled check to use config file (#2163) 2017-09-21 12:21:34 -04:00
objects Support false for attribute value (#2168) 2017-09-21 12:17:44 -04:00
plugins Remove some warnings during the test run 2016-09-09 14:14:36 +01:00
profiles Source reader should not hand back files with nil contents (#2003) 2017-07-11 21:33:55 +02:00
resources Support array syntax for registry_key resource (#2160) 2017-09-19 18:26:53 +02:00
source_readers Source reader should not hand back files with nil contents (#2003) 2017-07-11 21:33:55 +02:00
utils add the Nginx parser 2017-06-03 17:25:00 +02:00
file_provider_test.rb bugfix: empty file strings from archive readers (#2027) 2017-07-24 09:37:13 -07:00
runner_test.rb Add attributes file readability error handling (#2127) 2017-09-08 08:43:33 -04:00
shell_detector_test.rb Add inspec env command to configure shell tab-completion 2016-08-10 02:07:53 +01:00