From d981c69a18599ce7848afc3e77ad8ab14e6efbe8 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 26 Aug 2007 18:24:12 +0000 Subject: r24670: Use torture functions for settings. (This used to be commit a6906676309f3b1bec1a69427e7ffd0a768061b8) --- source4/torture/nbt/winsreplication.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source4/torture/nbt/winsreplication.c') 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; -- cgit