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
Kai 3251aecd95 Fix leading slashes being stripped from mount src (#24013)
* Tidy mount module for testing

Fix spelling mistakes in comments. I *think* the example for omitting parents
root has the wrong parent ID.

Make mountinfo file a parameter for testing.

* Don't strip leading slash from mounts

The current code does not follow the example, it produces src=tmp/aaa instead
of src=/tmp/aaa. This causes problems with bind mounts under /rootfs.

* Use dictionary to store mounts by ID

Instead of looping over each one to check if the ID matches. This does not
preserve the order of the output on < Python3.6, but that is not necessary.

* Make linux_mounts a dict

Always accessed by 'dst', so avoid looping by just making it a key.

* Add test case for get_linux_mounts
7 years ago
..
cli
contrib
errors
executor
inventory
inventory_test_data/group_vars
mock
module_utils AWSRetry: allow retrying on additional ClientError exceptions (#28483) 7 years ago
modules Fix leading slashes being stripped from mount src (#24013) 7 years ago
parsing
playbook
plugins synchronize: Use private_key and ssh_user with delegate_to (Fixes #16215) (#21686) 7 years ago
template
utils
vars make groups magic var dependant on inventory (#28677) 7 years ago
__init__.py
conftest.py
test_constants.py