ansible/test/sanity
Kevin Subileau ac9d506a61 win_nssm: tests and several bug fixes (#44755)
* win_nssm: add failing tests for issue #44079

* win_nssm: use Run-Command instead of Invoke-Expression to prevent interpretation issue

Fix #44079

* win_nssm: add more failing tests

These tests highlight several issues with this module:
 * Service not started when state=started
 * Errors with app_parameters (see #25265)
 * Exception when passing several dependencies separated by comma as specified in doc

* win_nssm: fix service not started when state=started

Nssm status returns a multiline output that doesn't match any of the strict patterns in the switch statement.

* win_nssm: fix incorrect separator in doc for service dependencies

The dependencies parameter works with space as separator, but not with comma as shown in the documentation

* win_nssm: fix error with app_parameters parameter

Fix #25265

* win_nssm: add idempotence tests

* win_nssm: fix several idempotence issues and misbehaviors

Add missing space between arguments when app_parameters contains several keys.
Use Argv-ToString and Escape-Argument to improve arguments handling (parameters with quotes, backslashes or spaces).

* win_nssm: test parameters with spaces, quotes or backslashes

* win_nssm: restore comma as separator for service dependencies

Revert commit ddd4b4b

* win_nssm: restore support of string as dict form for app_parameters and remove support of literal YAML dict

* win_nssm: wrong variable in tests
2018-09-27 13:15:04 +10:00
..
ansible-doc Stub out modules scheduled for 2.8 removal (#44985) 2018-08-31 16:27:32 -05:00
code-smell botmeta support: core (#45917) 2018-09-25 18:37:01 +01:00
compile Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
import Fixes for ansible-test sanity import test. (#45249) 2018-09-05 13:54:50 -07:00
pep8 Enable PEP8 testing of E305 2018-07-31 12:06:56 -07:00
pslint win_nssm: tests and several bug fixes (#44755) 2018-09-27 13:15:04 +10:00
pylint pylint plugin to catch due/past-due deprecated calls (#44143) 2018-09-25 10:31:41 -05:00
rstcheck Add rstcheck to ansible-test and correct issues. (#23550) 2017-04-13 10:28:52 -07:00
shellcheck Test cleanup. 2018-01-11 13:43:10 -08:00
validate-modules made sros_config docs match code for match options (#46135) 2018-09-26 19:08:26 +05:30
yamllint Add yamllint for plugin docs and fix issues. 2018-05-23 09:19:30 -07:00
ansible.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00