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
Adrian Likins 2149d1092b Fix 'distribution' fact for ArchLinux (#30723)
Allow empty wasn't breaking out of the process_dist_files
loop, so a empty /etc/arch-release would continue searching
and eventually try /etc/os-release. The os-release parsing
works, but the distro name there is 'Arch Linux' which does
not match the 2.3 behavior of 'Archlinux'

Add a OS_RELEASE_ALIAS map for the cases where we need to get
the distro name from os-release but use an alias.

We can't include 'Archlinux' in SEARCH_STRING because a name match on its keys
but without a match on the content causes a fallback to using the first
whitespace seperated item from the file content as the name.
For os-release, that is in form 'NAME=Arch Linux'

With os-release returning the right name, this also supports the
case where there is no /etc/arch-release, but there is a /etc/os-release

Fixes #30600

* pep8 and comment cleanup

(cherry picked from commit 3eab636b3f)
8 years ago
..
compile Docs how to test (2nd) (#24094) 9 years ago
integration Increase pause time in junos integration test (#30740) (#30799) 8 years ago
results Collect data from integration test runs. (#28650) 8 years ago
runner Improve ansible-test HttpClient error handling. (#30301) 8 years ago
sanity [fix] no-unicode-literals sanity error on ansible.egg-info (#30446) 8 years ago
units Fix 'distribution' fact for ArchLinux (#30723) 8 years ago
utils Divide Windows integration tests into 2 groups. (#29029) 8 years ago