Commit Graph

10 Commits (9c5ff8c49848a57f37cd368b5e4fa9e6b62d073d)

Author SHA1 Message Date
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