mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
Update winrm no-such-transport test to not use kerberos, which we do now support
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
4648018f1d
commit
066ed01259
1 changed files with 2 additions and 2 deletions
|
@ -416,9 +416,9 @@ Test Summary: \e[38;5;41m2 successful\e[0m, 0 failures, 0 skipped\n"
|
|||
|
||||
describe 'when --winrm-transport is used' do
|
||||
it 'raises an exception when an invalid transport is given' do
|
||||
out = inspec('exec ' + example_profile + ' -t winrm://administrator@dummy --password dummy --winrm-transport kerberos')
|
||||
out = inspec('exec ' + example_profile + ' -t winrm://administrator@dummy --password dummy --winrm-transport nonesuch')
|
||||
out.exit_status.must_equal 1
|
||||
out.stderr.must_include "Client error, can't connect to 'winrm' backend: Unsupported transport type: :kerberos\n"
|
||||
out.stderr.must_include "Client error, can't connect to 'winrm' backend: Unsupported transport type: :nonesuch\n"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue