diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-10-18 14:23:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:24 -0500 |
commit | a39f239cb28e4ac6be207d4179bacffce97f1b3e (patch) | |
tree | b9f7e4e7e4c6ad7a5d0107b99c75ee2e9ac2132f /source4/torture/rpc/netlogon.c | |
parent | 19af876bbb7038f5a40cd87eced81661a2fc2ee6 (diff) | |
download | samba-a39f239cb28e4ac6be207d4179bacffce97f1b3e.tar.gz samba-a39f239cb28e4ac6be207d4179bacffce97f1b3e.tar.xz samba-a39f239cb28e4ac6be207d4179bacffce97f1b3e.zip |
r19392: Use torture_setting_* rather than lp_parm_* where possible.
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
Diffstat (limited to 'source4/torture/rpc/netlogon.c')
-rw-r--r-- | source4/torture/rpc/netlogon.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index 92f06c43964..352faa2c141 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -41,7 +41,7 @@ static BOOL test_LogonUasLogon(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) NTSTATUS status; struct netr_LogonUasLogon r; - if (lp_parm_bool(-1, "target", "samba4", False)) { + if (lp_parm_bool(-1, "torture", "samba4", False)) { printf("skipping LogonUasLogon test against Samba4\n"); return True; } @@ -67,7 +67,7 @@ static BOOL test_LogonUasLogoff(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) NTSTATUS status; struct netr_LogonUasLogoff r; - if (lp_parm_bool(-1, "target", "samba4", False)) { + if (lp_parm_bool(-1, "torture", "samba4", False)) { printf("skipping LogonUasLogoff test against Samba4\n"); return True; } @@ -629,7 +629,7 @@ static BOOL test_DatabaseSync(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) int i; BOOL ret = True; - if (lp_parm_bool(-1, "target", "samba4", False)) { + if (lp_parm_bool(-1, "torture", "samba4", False)) { printf("skipping DatabaseSync test against Samba4\n"); return True; } @@ -695,7 +695,7 @@ static BOOL test_DatabaseDeltas(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) int i; BOOL ret = True; - if (lp_parm_bool(-1, "target", "samba4", False)) { + if (lp_parm_bool(-1, "torture", "samba4", False)) { printf("skipping DatabaseDeltas test against Samba4\n"); return True; } @@ -829,7 +829,7 @@ static BOOL test_GetDcName(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) struct netr_GetDcName r; - if (lp_parm_bool(-1, "target", "samba4", False)) { + if (lp_parm_bool(-1, "torture", "samba4", False)) { printf("skipping GetDCName test against Samba4\n"); return True; } @@ -860,7 +860,7 @@ static BOOL test_LogonControl(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) BOOL ret = True; int i; - if (lp_parm_bool(-1, "target", "samba4", False)) { + if (lp_parm_bool(-1, "torture", "samba4", False)) { printf("skipping LogonControl test against Samba4\n"); return True; } @@ -892,7 +892,7 @@ static BOOL test_GetAnyDCName(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) NTSTATUS status; struct netr_GetAnyDCName r; - if (lp_parm_bool(-1, "target", "samba4", False)) { + if (lp_parm_bool(-1, "torture", "samba4", False)) { printf("skipping GetAnyDCName test against Samba4\n"); return True; } @@ -926,7 +926,7 @@ static BOOL test_LogonControl2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) BOOL ret = True; int i; - if (lp_parm_bool(-1, "target", "samba4", False)) { + if (lp_parm_bool(-1, "torture", "samba4", False)) { printf("skipping LogonControl2 test against Samba4\n"); return True; } @@ -1012,7 +1012,7 @@ static BOOL test_DatabaseSync2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) int i; BOOL ret = True; - if (lp_parm_bool(-1, "target", "samba4", False)) { + if (lp_parm_bool(-1, "torture", "samba4", False)) { printf("skipping DatabaseSync2 test against Samba4\n"); return True; } @@ -1068,7 +1068,7 @@ static BOOL test_LogonControl2Ex(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) BOOL ret = True; int i; - if (lp_parm_bool(-1, "target", "samba4", False)) { + if (lp_parm_bool(-1, "torture", "samba4", False)) { printf("skipping DatabaseSync2 test against Samba4\n"); return True; } @@ -1174,7 +1174,7 @@ static BOOL test_netr_DsRGetSiteName(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct netr_DsRGetSiteName r; BOOL ret = True; - if (lp_parm_bool(-1, "target", "samba4", False)) { + if (lp_parm_bool(-1, "torture", "samba4", False)) { printf("skipping DsRGetSiteName test against Samba4\n"); return True; } |