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
Sam Doran 0fa56ed65d Add warning when using an empty regexp in lineinfile (#42013) (#42207)
* Revert "Account for empty string regexp in lineinfile (#41451)"

This reverts commit 4b5b4a760c.

* Use context managers for interacting with files

* Store line and regexp parameters in a variable

* Add warning when regexp is an empty string

* Remove '=' from error messages

* Update warning message and add changelog

* Add tests

* Improve warning message

Offer an equivalent regexp that won't trigger the warning.
Update tests to match new warning.

* Add porting guide entry for lineinfile change

(cherry picked from commit fb55038d75)
8 years ago
..
cache Update ansible-test sanity command. (#31958) 8 years ago
integration Add warning when using an empty regexp in lineinfile (#42013) (#42207) 8 years ago
legacy exo_dns_record: remove limitation for multiple records only for A type (#35173) 8 years ago
results Collect data from integration test runs. (#28650) 8 years ago
runner winrm: fix up unit tests (#41112) (#41211) 8 years ago
sanity [2.5] Fix ios_vlan to correctly identify unmodified config when having long interface names (#40145) (#40656) 8 years ago
units Stop displaying kinit pass input on a failure (#41882) (#41923) 8 years ago
utils Make docs-build sanity test disabled by default. 8 years ago