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
2017-02-08 16:07:43 -05:00
..
cloud fixed type mapper and added tests (#20963) 2017-02-02 09:46:17 -05:00
network Fix vyos unit tests. 2017-02-07 15:21:34 -08:00
packaging Fix 'yum skips updates' bug (#21113) 2017-02-08 16:07:43 -05:00
system known_hosts: support --diff (#20349) 2017-02-08 09:56:03 -05:00
__init__.py Some algorithmic unittests for the apt and docker modules 2016-04-27 07:23:31 -07:00