You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/modules
Adrian Likins e511326222 Fix 'yum skips updates' bug (#21113)
* Fix 'yum skips updates' bug

When the 'yum check-update' output is parsed, the regex used
to stitch wrapped lines together would fail on the first package.

It would fail because there is an empty line before the first
package, and this triggered the regex. To avoid a more complicated
regex, preprocess the check-update output to strip out any
empty lines.

The regex is also updated to include a group on the non whitespace
match to be used in the sub.

Add test cases based on info provided in the bug reports.

Fixes #20608
8 years ago
..
cloud fixed type mapper and added tests (#20963) 8 years ago
network Fix vyos unit tests. 8 years ago
packaging Fix 'yum skips updates' bug (#21113) 8 years ago
system known_hosts: support --diff (#20349) 8 years ago
__init__.py Some algorithmic unittests for the apt and docker modules 9 years ago