From 2fefa818a95138fc7d6508093f426cb4ed92138f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 28 Aug 2007 00:16:58 +0000 Subject: r24728: Use more stock torture functions. (This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33) --- source4/torture/rpc/handles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/rpc/handles.c') diff --git a/source4/torture/rpc/handles.c b/source4/torture/rpc/handles.c index 83462d3328..f8cd1cd488 100644 --- a/source4/torture/rpc/handles.c +++ b/source4/torture/rpc/handles.c @@ -116,7 +116,7 @@ static bool test_handles_lsa_shared(struct torture_context *torture) torture_comment(torture, "RPC-HANDLE-LSARPC-SHARED\n"); - if (lp_parm_bool(-1, "torture", "samba4", False)) { + if (torture_setting_bool(torture, "samba4", false)) { torture_comment(torture, "LSA shared-policy-handle test against Samba4 - skipping\n"); return true; } @@ -399,7 +399,7 @@ static bool test_handles_mixed_shared(struct torture_context *torture) torture_comment(torture, "RPC-HANDLE-MIXED-SHARED\n"); - if (lp_parm_bool(-1, "torture", "samba4", False)) { + if (torture_setting_bool(torture, "samba4", false)) { torture_comment(torture, "Mixed shared-policy-handle test against Samba4 - skipping\n"); return true; } -- cgit