summaryrefslogtreecommitdiff
path: root/source4/torture/nbt/winsreplication.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/nbt/winsreplication.c')
-rw-r--r--source4/torture/nbt/winsreplication.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c
index 7ab53c9679..3767722e35 100644
--- a/source4/torture/nbt/winsreplication.c
+++ b/source4/torture/nbt/winsreplication.c
@@ -9477,45 +9477,6 @@ static void test_conflict_owned_active_vs_replica_handler(struct nbt_name_socket
/*
test WINS replication operations
*/
-BOOL torture_nbt_winsreplication_quick(void)
-{
- const char *address;
- struct nbt_name name;
- TALLOC_CTX *mem_ctx = talloc_new(NULL);
- NTSTATUS status;
- BOOL ret = True;
- struct test_wrepl_conflict_conn *ctx;
-
- make_nbt_name_server(&name, lp_parm_string(-1, "torture", "host"));
-
- /* do an initial name resolution to find its IP */
- status = resolve_name(&name, mem_ctx, &address, NULL);
- if (!NT_STATUS_IS_OK(status)) {
- printf("Failed to resolve %s - %s\n",
- name.name, nt_errstr(status));
- talloc_free(mem_ctx);
- return False;
- }
-
- ret &= test_assoc_ctx1(mem_ctx, address);
- ret &= test_assoc_ctx2(mem_ctx, address);
-
- ret &= test_wins_replication(mem_ctx, address);
-
- ctx = test_create_conflict_ctx(mem_ctx, address);
- if (!ctx) return False;
-
- ret &= test_conflict_same_owner(ctx);
- ret &= test_conflict_owned_released_vs_replica(ctx);
-
- talloc_free(mem_ctx);
-
- return ret;
-}
-
-/*
- test WINS replication operations
-*/
BOOL torture_nbt_winsreplication(void)
{
const char *address;