mirror of
https://github.com/samba-team/samba.git
synced 2025-12-05 12:23:50 +03:00
r19698: fix whitespaces...
metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
9e52b0b9b5
commit
fa439f5655
@@ -92,8 +92,7 @@ static bool nbt_test_netlogon(struct torture_context *tctx)
|
||||
|
||||
socket_address = socket_address_from_strings(dgmsock, dgmsock->sock->backend_name,
|
||||
myaddress, lp_dgram_port());
|
||||
torture_assert(tctx, socket_address != NULL,
|
||||
"Error getting address");
|
||||
torture_assert(tctx, socket_address != NULL, "Error getting address");
|
||||
|
||||
/* try receiving replies on port 138 first, which will only
|
||||
work if we are root and smbd/nmbd are not running - fall
|
||||
@@ -182,7 +181,6 @@ static bool nbt_test_netlogon2(struct torture_context *tctx)
|
||||
talloc_free(socket_address);
|
||||
socket_address = socket_address_from_strings(dgmsock, dgmsock->sock->backend_name,
|
||||
myaddress, 0);
|
||||
|
||||
torture_assert(tctx, socket_address != NULL, "Error getting address");
|
||||
|
||||
socket_listen(dgmsock->sock, socket_address, 0, 0);
|
||||
@@ -300,7 +298,8 @@ static bool nbt_test_ntlogon(struct torture_context *tctx)
|
||||
join_ctx = torture_join_domain(TEST_NAME,
|
||||
ACB_WSTRUST, &machine_credentials);
|
||||
torture_assert(tctx, join_ctx != NULL,
|
||||
talloc_asprintf(tctx, "Failed to join domain %s as %s\n", lp_workgroup(), TEST_NAME));
|
||||
talloc_asprintf(tctx, "Failed to join domain %s as %s\n",
|
||||
lp_workgroup(), TEST_NAME));
|
||||
|
||||
dom_sid = torture_join_sid(join_ctx);
|
||||
|
||||
@@ -344,8 +343,7 @@ static bool nbt_test_ntlogon(struct torture_context *tctx)
|
||||
*/
|
||||
struct torture_suite *torture_nbt_dgram(void)
|
||||
{
|
||||
struct torture_suite *suite = torture_suite_create(talloc_autofree_context(),
|
||||
"DGRAM");
|
||||
struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "DGRAM");
|
||||
|
||||
torture_suite_add_simple_test(suite, "netlogon", nbt_test_netlogon);
|
||||
torture_suite_add_simple_test(suite, "netlogon2", nbt_test_netlogon2);
|
||||
|
||||
Reference in New Issue
Block a user