James Cammarata
af0d8cda7b
Fix literal block multiline parsing
...
Fixes #8394
2014-08-04 11:10:07 -05:00
James Cammarata
6d94ae64ec
Remove unnecessary unicode conversions from parse_kv
...
Fixes #8425
2014-08-04 09:59:08 -05:00
James Cammarata
e6fa50a306
Move splitter to module_utils so modules can use it and fix command arg splitting
...
Fixes #8338
2014-07-29 14:55:16 -05:00
James Cammarata
aee940aaca
Reworking _clean_data() to be smarter about replaces
...
Fixes #8228
2014-07-28 16:50:18 -05:00
James Cammarata
a8c2d6acd5
Adding unittest for space preservation within quotes when splitting args
2014-07-25 15:23:32 -05:00
James Cammarata
8f694c7588
Fixing unittests based on previous patch for splitting
2014-07-25 13:42:10 -05:00
Michael DeHaan
8d42f5cbfa
Smush ds removal
2014-07-24 20:38:02 -05:00
Michael DeHaan
eeb51b6bf3
Moar split_args tests
2014-07-24 20:42:41 -04:00
Michael DeHaan
630f080cf0
Start of unit tests for split_args function, moved split_args to utils since not needed by modules (so far).
2014-07-24 20:15:04 -04:00
James Cammarata
8ff0c0f253
Tweaking make_su_cmd test
...
Fixes #7652
2014-06-04 13:03:50 -05:00
Timothy Appnel
754d635aca
Recent BSD su work introduced a failing test. Removed leading space from the assertion that seems to be the culprit.
2014-05-27 10:50:19 -04:00
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
2014-05-23 10:06:09 -05:00
Michael DeHaan
a5e7492c4f
This test appears OS specific, so disabling for now.
2014-04-15 20:21:50 -04:00
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>
2014-04-15 19:35:53 -04:00
Matt Martz
2aaecc5afa
Fix logic in process_common_errors for unbalanced quotes
2014-03-19 13:49:31 -05:00
James Tanner
7c5ad1fa23
Fixes #6539 Workaround py26 vs py27 difflib results
2014-03-17 22:21:30 -04:00
Matt Martz
5062f4962f
Unit tests for ansible.utils
2014-03-14 10:38:33 -05:00
Michael DeHaan
94a7fb60fe
Allow escaped comments in inventory files.
2014-03-05 20:10:25 -05:00
Michael DeHaan
2177b773c8
Rename tests to test, use old directory name.
2014-02-20 19:11:15 -05:00