mirror of
https://github.com/inspec/inspec
synced 2024-11-14 17:07:09 +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> |
||
---|---|---|
.. | ||
cmd | ||
files | ||
profiles |