summaryrefslogtreecommitdiff
path: root/source4/torture/nbt/winsreplication.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-26 18:24:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:36 -0500
commitd981c69a18599ce7848afc3e77ad8ab14e6efbe8 (patch)
tree614a6abfaf1c3a8618a81a8b744f48835840b4c4 /source4/torture/nbt/winsreplication.c
parent3f6cf9672ba1d25f10cbd0bb8ce1525c592a8e78 (diff)
downloadsamba-d981c69a18599ce7848afc3e77ad8ab14e6efbe8.tar.gz
samba-d981c69a18599ce7848afc3e77ad8ab14e6efbe8.tar.bz2
samba-d981c69a18599ce7848afc3e77ad8ab14e6efbe8.zip
r24670: Use torture functions for settings.
(This used to be commit a6906676309f3b1bec1a69427e7ffd0a768061b8)
Diffstat (limited to 'source4/torture/nbt/winsreplication.c')
-rw-r--r--source4/torture/nbt/winsreplication.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c
index 3f1e895e29..bc370c8b4e 100644
--- a/source4/torture/nbt/winsreplication.c
+++ b/source4/torture/nbt/winsreplication.c
@@ -9651,10 +9651,9 @@ static bool torture_nbt_winsreplication_owned(struct torture_context *tctx)
bool ret = true;
struct test_wrepl_conflict_conn *ctx;
- if (lp_parm_bool(-1, "torture", "quick", False)) {
- printf("skip NBT-WINSREPLICATION-OWNED test in quick test mode\n");
- return true;
- }
+ if (torture_setting_bool(tctx, "quick", false))
+ torture_skip(tctx,
+ "skip NBT-WINSREPLICATION-OWNED test in quick test mode\n");
if (!torture_nbt_get_name(tctx, &name, &address))
return false;