1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s4-torture: minor cleanup in test_witness_Register().

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Günther Deschner 2015-05-13 10:47:12 +02:00
parent 1b70b1aa28
commit 9cdb69c8dd

View File

@ -286,7 +286,7 @@ static bool test_witness_Register(struct torture_context *tctx,
},{
.version = WITNESS_V1,
.net_name = dcerpc_server_name(p),
.ip_address = NULL, /* "99192.168.44.45" */
.ip_address = NULL,
.client_computer_name = lpcfg_netbios_name(tctx->lp_ctx),
.expected_status = NT_STATUS_OK,
.expected_result = WERR_INVALID_PARAM
@ -422,7 +422,7 @@ static bool test_witness_RegisterEx(struct torture_context *tctx,
},{
.version = WITNESS_V2,
.net_name = dcerpc_server_name(p),
.ip_address = NULL, /* "99192.168.44.45" */
.ip_address = NULL,
.client_computer_name = lpcfg_netbios_name(tctx->lp_ctx),
.expected_status = NT_STATUS_OK,
.expected_result = WERR_INVALID_PARAM