ansible/test/units/module_utils/facts
Adrian Likins f4128746d3 Cmdline fact uefi 23647 (#25446)
* Fix ansible_cmdline initrd fact for UEFI

UEFI cmdline paths use \ path sep which would
get munged by cmdline fact collection.

* Make CmdLineFactCollector easier to test

extract the parsing of the /proc/cmdline content to
_parse_proc_cmdline()

add a wrapper method for get_file_content _get_proc_cmdline()

Add unit tests of _parse_proc_cmdline based on examples
from issue #23647

Fixes #23647
2017-06-08 16:03:29 -04:00
..
fixtures Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
other Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
system Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
__init__.py
base.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
test_collector.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
test_collectors.py Cmdline fact uefi 23647 (#25446) 2017-06-08 16:03:29 -04:00
test_facts.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
test_timeout.py Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00