mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
dab91a321a
The output for ``yum -v repolist all`` changes slightly in CentOS 8. There are two specific changes: 1. EL8 is no longer trailing the repo name with release version and arch (i.e. base instead of base/7/x86) 2. EL8 no longer adds a trailing newline on the last repo and instead has a line with ``Total packages:``. This means the repo listed last will never show up. A fix was introduced in #4566 however the tests still use CentOS 7 yum output instead of dnf repolist output. One issue was still discovered where it was including the ``Total packages`` line in the last repository. This includes a regex for to work around that and fixes for the tests. Signed-off-by: Lance Albertson <lance@osuosl.org> |
||
---|---|---|
.. | ||
mock_loader.rb | ||
resources.rb | ||
simplecov_minitest.rb |