diff options
author | Jordan Borean <jborean93@gmail.com> | 2018-12-13 02:15:25 +0100 |
---|---|---|
committer | Matt Davis <nitzmahone@users.noreply.github.com> | 2018-12-13 02:15:25 +0100 |
commit | 190d1ed7f1cd6be4746e937906d571f0abe4a53d (patch) | |
tree | d2acc57e18c58c769cf04676223da582886ba166 /test/integration/targets/win_module_utils | |
parent | replace math round with ceiling for ansible_memtotal_mb + add new variables t... (diff) | |
download | ansible-190d1ed7f1cd6be4746e937906d571f0abe4a53d.tar.xz ansible-190d1ed7f1cd6be4746e937906d571f0abe4a53d.zip |
win become: refactor and add support for passwordless become (#48082)
* win become: refactor and add support for passwordless become
* make tests more stable
* fix up dep message for Load-CommandUtils
* Add further check for System impersonation token
* re-add support for become with accounts that have no password
* doc fixes and slight code improvements
* fix doc sanity issue
Diffstat (limited to 'test/integration/targets/win_module_utils')
-rw-r--r-- | test/integration/targets/win_module_utils/library/command_util_test.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/win_module_utils/library/command_util_test.ps1 b/test/integration/targets/win_module_utils/library/command_util_test.ps1 index 3515112e38..3d7405ddae 100644 --- a/test/integration/targets/win_module_utils/library/command_util_test.ps1 +++ b/test/integration/targets/win_module_utils/library/command_util_test.ps1 @@ -34,7 +34,7 @@ try { $actual = Run-Command -command "C:\fakepath\$exe_filename arg1" Fail-Json -obj $result -message "Test $test_name failed`nCommand should have thrown an exception" } catch { - Assert-Equals -actual $_.Exception.Message -expected "Exception calling `"SearchPath`" with `"1`" argument(s): `"Could not locate the following executable C:\fakepath\$exe_filename`"" + Assert-Equals -actual $_.Exception.Message -expected "Exception calling `"SearchPath`" with `"1`" argument(s): `"Could not find file 'C:\fakepath\$exe_filename'.`"" } $test_name = "exe in current folder" |