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/module_utils/facts
Christian Loos 4a1555fb0a
fix distribution fact for SLES4SAP (#71559) (#72029)
b6b238a fixed the SLES4SAP detection, which was at this time ok.
Sadly Suse changed with SLES 15 the /etc/os-release file, so the above
change will no longer work.

This commit updates the SLES4SAP detection regarding
https://www.suse.com/support/kb/doc/?id=000019341.

The symlink realpath is matched with endswith, because in SLES 12+ the
link target is SLES_SAP.prod, but in SLES 11 the link target is
SUSE_SLES_SAP.prod.

(cherry picked from commit ea119d3089)
5 years ago
..
fixtures [stable-2.9] Handle Slackware OS version strings containing a plus (“+”) (#68142) (#70718) 5 years ago
hardware Fix race condition in test_sunos_get_uptime_facts 6 years ago
network unit tests: remove unused imports (#59636) 7 years ago
other Clean up ansible-test references in tests. (#60108) 7 years ago
system fix distribution fact for SLES4SAP (#71559) (#72029) 5 years ago
__init__.py Facts Timeout was not settable via ansible.cfg 9 years ago
base.py unit tests: remove unused imports (#60462) 6 years ago
test_ansible_collector.py Update units to pass on macOS (#60435) 6 years ago
test_collector.py Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
test_collectors.py Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
test_date_time.py [stable-2.9] facts - fix incorrect time for some date_time_facts (#70665) (#70997) 5 years ago
test_facts.py Transform octal escape sequences in mtab fields (#60122) 7 years ago
test_timeout.py Speed up units using time.sleep by mocking or shortening sleep time (#61064) 6 years ago
test_utils.py Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago