summaryrefslogtreecommitdiff
path: root/test/integration/targets/blockinfile/tasks
Commit message (Collapse)AuthorAgeFilesLines
* blockinfile - fix line end regression (#69734)Sam Doran2020-05-271-0/+32
| | | | | PR #66461 introduced a regression that resulted in an in correct block in the file if the block to be inserted did not end with a line separator. Fix this bug and add tests to cover this scenario.
* blockinfile - Preserve line endings (#66461)Riyad Preukschas2020-05-271-2/+27
| | | | | | | | | Fixes #64966 * Fix "TypeError: splitlines() takes no keyword arguments" on Python2.7 * Add changelog fragment * Don't use `grep -P` for BSD/macOS compatibility * Fix sanity checks complaining about test fixtures with mixed line endings * Update changelogs/fragments/66461-blockinfile_preserve_line_endings.yaml
* Use bytes rather than native string for result (#46281)Sam Doran2018-09-281-23/+70
| | | | | This prevents a stack trace in Python 3 when the result is an empty file since the file is open in binary mode and a native string in Python 3 is str, not bytes.
* Add integration test targets for core supported modules (#24217)jctanner2017-05-101-0/+67
A preliminary set of test targets for "core" supported module that had no independent tests. These will also help us ensure python3 compatibility for those modules and prevent future regressions.