mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:torture/rpc: fix altercontext test against windows
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
495a76b9f6
commit
08ec25555d
@ -85,7 +85,11 @@ bool torture_rpc_alter_context(struct torture_context *torture)
|
||||
if (NT_STATUS_EQUAL(status, NT_STATUS_RPC_PROTOCOL_ERROR)) {
|
||||
|
||||
ret &= test_lsa_OpenPolicy2_ex(p->binding_handle, torture, &handle,
|
||||
NT_STATUS_PIPE_DISCONNECTED);
|
||||
NT_STATUS_IO_DEVICE_ERROR);
|
||||
|
||||
torture_assert(torture, !dcerpc_binding_handle_is_connected(p->binding_handle),
|
||||
"dcerpc disonnected");
|
||||
|
||||
return ret;
|
||||
}
|
||||
torture_assert_ntstatus_ok(torture, status, "dcerpc_alter_context failed");
|
||||
|
Loading…
Reference in New Issue
Block a user