r11882: - use some better names
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Nov 2005 12:30:57 +0000 (12:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:46:40 +0000 (13:46 -0500)
- we now pass the same_owner tests so test them with make test

metze
(This used to be commit 579ebb874e40c66dc45c5468bfa0658c7fabcc61)

source4/torture/nbt/winsreplication.c

index 8ba9c743947abb05394a903572e4221a256d340b..2aace9fd97e0bccacfa2b8622291178dbe039197 100644 (file)
@@ -8382,7 +8382,7 @@ static BOOL test_conflict_owned_active_vs_replica(struct test_wrepl_conflict_con
         */
        {
                .line   = __location__,
-               .name   = _NBT_NAME("_MA_MA_SB_C", 0x00, NULL),
+               .name   = _NBT_NAME("_MA_MA_SB_PRA", 0x00, NULL),
                .skip   = (ctx->addresses_all_num < 3),
                .wins   = {
                        .nb_flags       = 0,
@@ -8476,7 +8476,7 @@ static BOOL test_conflict_owned_active_vs_replica(struct test_wrepl_conflict_con
        {
                .line   = __location__,
                .section= "Test Replica vs. owned active: some more UNIQUE,MHOMED combinations",
-               .name   = _NBT_NAME("_MA_UA_SB_A", 0x00, NULL),
+               .name   = _NBT_NAME("_MA_UA_SB_P", 0x00, NULL),
                .skip   = (ctx->addresses_all_num < 3),
                .wins   = {
                        .nb_flags       = 0,
@@ -9249,6 +9249,7 @@ BOOL torture_nbt_winsreplication_quick(void)
        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"));
 
@@ -9266,6 +9267,10 @@ BOOL torture_nbt_winsreplication_quick(void)
 
        ret &= test_wins_replication(mem_ctx, address);
 
+       ctx = test_create_conflict_ctx(mem_ctx, address);
+
+       ret &= test_conflict_same_owner(ctx);
+
        talloc_free(mem_ctx);
 
        return ret;