r12907: skip some tests for make quicktest in NBT-WINSREPLICATION
authorStefan Metzmacher <metze@samba.org>
Fri, 13 Jan 2006 16:44:32 +0000 (16:44 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:51:01 +0000 (13:51 -0500)
metze
(This used to be commit b206c5e87c791ac8f2ecf5b7ef6b2622ad735f54)

source4/torture/nbt/winsreplication.c

index a6089fc2db88f79cbbb0bd41f89985cd6f650195..5b8aa0119a69ffc157ac992a543368fb09f5f5ec 100644 (file)
@@ -9524,6 +9524,8 @@ BOOL torture_nbt_winsreplication(void)
 
        ret &= test_wins_replication(mem_ctx, address);
 
+       if (lp_parm_bool(-1, "torture", "quick", False)) goto done;
+
        ctx = test_create_conflict_ctx(mem_ctx, address);
        if (!ctx) return False;
 
@@ -9532,6 +9534,7 @@ BOOL torture_nbt_winsreplication(void)
        ret &= test_conflict_owned_released_vs_replica(ctx);
        ret &= test_conflict_owned_active_vs_replica(ctx);
 
+done:
        talloc_free(mem_ctx);
 
        return ret;