5cd489af06
* 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> |
||
---|---|---|
.. | ||
__init__.py | ||
test__log_invocation.py | ||
test__symbolic_mode_to_octal.py | ||
test_argument_spec.py | ||
test_atomic_move.py | ||
test_deprecate_warn.py | ||
test_dict_converters.py | ||
test_exit_json.py | ||
test_filesystem.py | ||
test_get_file_attributes.py | ||
test_get_module_path.py | ||
test_heuristic_log_sanitize.py | ||
test_imports.py | ||
test_log.py | ||
test_no_log.py | ||
test_platform_distribution.py | ||
test_run_command.py | ||
test_safe_eval.py | ||
test_sanitize_keys.py | ||
test_selinux.py | ||
test_set_cwd.py | ||
test_set_mode_if_different.py | ||
test_tmpdir.py |