ansible/test
Rick Elrod 5cd489af06
Let get_file_attributes() work without lsattr -v (#71845)
* Let get_file_attributes() work without `lsattr -v`

Change:
- module_utils's get_file_attributes() expects `lsattr -v` to work, but
  in some cases, it may not.
- The function now takes an optional include_version bool parameter,
  which removes this expectation.
- Places where we call get_file_attributes() without using the 'version'
  it returns, we now call it with include_version=False.

Test Plan:
- New unit tests

Signed-off-by: Rick Elrod <rick@elrod.me>
2020-09-22 16:15:47 -05:00
..
ansible_test
integration Let get_file_attributes() work without lsattr -v (#71845) 2020-09-22 16:15:47 -05:00
lib/ansible_test Remove em dash from the pytest configuration file 2020-09-14 09:02:48 -07:00
sanity Reduce ignored module sanity tests (#70319) 2020-09-22 16:07:29 -04:00
support Remove incidental_consul tests (#71811) 2020-09-22 11:33:59 -04:00
units Let get_file_attributes() work without lsattr -v (#71845) 2020-09-22 16:15:47 -05:00
utils/shippable Test changes to allow using "macos" test image (#71849) 2020-09-22 09:10:36 -04:00