Commit Graph

20 Commits (4b581e54c0cf9285bbf3bd12f0b46701cc4e73e3)

Author SHA1 Message Date
James Cammarata 63bf2f6d9a Preserve all line breaks in literal blocks
Fixes #8512
10 years ago
James Cammarata af0d8cda7b Fix literal block multiline parsing
Fixes #8394
10 years ago
James Cammarata 6d94ae64ec Remove unnecessary unicode conversions from parse_kv
Fixes #8425
10 years ago
James Cammarata e6fa50a306 Move splitter to module_utils so modules can use it and fix command arg splitting
Fixes #8338
10 years ago
James Cammarata aee940aaca Reworking _clean_data() to be smarter about replaces
Fixes #8228
10 years ago
James Cammarata a8c2d6acd5 Adding unittest for space preservation within quotes when splitting args 10 years ago
James Cammarata 8f694c7588 Fixing unittests based on previous patch for splitting 10 years ago
Michael DeHaan 8d42f5cbfa Smush ds removal 10 years ago
Michael DeHaan eeb51b6bf3 Moar split_args tests 10 years ago
Michael DeHaan 630f080cf0 Start of unit tests for split_args function, moved split_args to utils since not needed by modules (so far). 10 years ago
James Cammarata 8ff0c0f253 Tweaking make_su_cmd test
Fixes #7652
11 years ago
Timothy Appnel 754d635aca Recent BSD su work introduced a failing test. Removed leading space from the assertion that seems to be the culprit. 11 years ago
James Cammarata 1e672a0fec Fixes for su on freebsd
Addresses multiple issues when using su on freebsd including
* su prompt differs between platforms, so turned that check into a
  regex comparison instead of a simple string comparison
* not using '-c' after su causes problems, so added that for all
  platforms
* fixed quoting issues due to multiple uses of '-c' introduced by
  the above fix

Fixes #7503
Fixes #7507
11 years ago
Michael DeHaan a5e7492c4f This test appears OS specific, so disabling for now. 11 years ago
Timothy Appnel fd35c59fc1 Fixed escaping of " in test_make_sudo_cmd in TestUtils so that it passes
as it should.

Signed-off-by: Timothy Appnel <tim@appnel.com>
11 years ago
Matt Martz 2aaecc5afa Fix logic in process_common_errors for unbalanced quotes 11 years ago
James Tanner 7c5ad1fa23 Fixes #6539 Workaround py26 vs py27 difflib results 11 years ago
Matt Martz 5062f4962f Unit tests for ansible.utils 11 years ago
Michael DeHaan 94a7fb60fe Allow escaped comments in inventory files. 11 years ago
Michael DeHaan 2177b773c8 Rename tests to test, use old directory name. 11 years ago