mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
367d42fb3a
* check the proper field for dpkg installation state fixes #2006 Signed-off-by: Mathieu Sauve-Frankel <msf@kisoku.net> * Properly handle held packages on dpkg-flavored OS InSpec was looking at the wrong field in `dpkg -s` output to determine whether a package was installed or not. An installed, held package was incorrectly reported as uninstalled. This adds the proper unit tests and also adds a `be_held` matcher. Thanks to @kisoku for the initial work in #2007. Signed-off-by: Adam Leff <adam@leff.co> |
||
---|---|---|
.. | ||
cookbooks/os_prepare | ||
functional | ||
integration/default | ||
resource | ||
unit | ||
docker_run.rb | ||
docker_test.rb | ||
helper.rb | ||
test-extra.yaml | ||
test.yaml |