Commit Graph

13 Commits (d612838116314aa9652a5b9e951a524ffc0fd8e9)

Author SHA1 Message Date
James Cammarata 4bc7703db3 Fixing some small bugs related to integration tests (v2) 9 years ago
jaypei 288fe1179a Add lineinfile integration tests for quoted string
Reference #10864
10 years ago
Veres Lajos bf5d8ee678 typofixes - https://github.com/vlajos/misspell_fixer 10 years ago
Toshio Kuratomi f1267c0b05 Move from md5 to sha1 to work on fips-140 enabled systems 10 years ago
James Cammarata dc9482d548 Fix quoting issues in lineinfile for individual single-quotes
Fixes #8806
10 years ago
James Cammarata 66802169f5 Adding integration test based on #8535 10 years ago
Wayne Rosario 24a3d55c78 Adding Integration Tests for mysql_db module
Adding the following Test Coverage for RedHat and Debian OS:

 - Use mysql_db module to create, delete databases using different encoding.
 - Backup/Restore databases using different file format: sql, gz and bz2.
 - Create and delete databases using different user privilege.
 - Assert database creation, deleting and content using system commands.
10 years ago
James Cammarata 48dbb79fbe Merge branch 'issue_5679_lineinfile' into fix_lineinfile_newlines 10 years ago
Ahti Kitsik 1caf9be109 Bugfix to lineinfile to properly handle files with no newline at EOF when using insertafter=EOF.
Looks like #6881 is also affected by this bug.

Currently when using lineinfile insertafter=EOF for a file that has no newline then the added line is not prefixed with a newline.
As a concrete example, ubuntu distro default /etc/ssh/sshd_config has no newline so lineinfile module cannot be used to add a new line to the end of the file.
10 years ago
James Cammarata 567f3819b1 Fixing newline escapes in lineinfile
Fixes #5679
11 years ago
James Cammarata b73cddc485 Revert "Fix #5679 again after recent changes in core"
This reverts commit 2bfaacd170.

Fixes #6821
11 years ago
Jakub Jirutka 2bfaacd170 Fix #5679 again after recent changes in core 11 years ago
Michael DeHaan 2177b773c8 Rename tests to test, use old directory name. 11 years ago