diff options
author | Pilou <pierre-louis@libregerbil.fr> | 2017-08-16 16:35:56 +0200 |
---|---|---|
committer | Brian Coca <bcoca@users.noreply.github.com> | 2017-08-16 10:35:56 -0400 |
commit | 016cd0691cea5a5e085d13c5f82b4f69b9214078 (patch) | |
tree | 791541534a16f9926e46abf84eba08cd0574719f /shippable.yml | |
parent | 6886153b540d9c16bac8ad5b6fef326feeb67a50 (diff) | |
download | ansible-016cd0691cea5a5e085d13c5f82b4f69b9214078.tar.gz |
alternatives: handle absent link, add integration tests (#27967)
* alternatives: add integration tests
* alternatives: handle absent link (fix AttributeError)
Error occurred at least on Debian Stretch and OpenSuse 42.2:
Traceback (most recent call last):
File "/tmp/ansible_RY6X41/ansible_module_alternatives.py", line 161, in <module>
main()
File "/tmp/ansible_RY6X41/ansible_module_alternatives.py", line 113, in main
current_path = current_path_regex.search(display_output).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
update-alternatives stdout sample:
dummy - manual mode
link best version is /usr/bin/dummy1
link currently absent
link dummy is /usr/bin/dummy
* alternatives: PEP 8 fixes
* alternatives: fix copyright in integration tests
* alternatives: nested loops handle more than 2 items
Thanks to Michael Scherer (@mscherer) for pointing that.
* alternatives: enable integration tests
Diffstat (limited to 'shippable.yml')
0 files changed, 0 insertions, 0 deletions