summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/handles.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-28 00:16:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:58 -0500
commit2fefa818a95138fc7d6508093f426cb4ed92138f (patch)
treedff4b61a40639066ed8732555fb72c5218cd4e18 /source4/torture/rpc/handles.c
parentf8c373fd6a93be2327db024f7e149d91a7089590 (diff)
downloadsamba-2fefa818a95138fc7d6508093f426cb4ed92138f.tar.gz
samba-2fefa818a95138fc7d6508093f426cb4ed92138f.tar.bz2
samba-2fefa818a95138fc7d6508093f426cb4ed92138f.zip
r24728: Use more stock torture functions.
(This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)
Diffstat (limited to 'source4/torture/rpc/handles.c')
-rw-r--r--source4/torture/rpc/handles.c4
1 files changed, 2 insertions, 2 deletions
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;
}