diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-08-28 00:16:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:02:58 -0500 |
commit | 2fefa818a95138fc7d6508093f426cb4ed92138f (patch) | |
tree | dff4b61a40639066ed8732555fb72c5218cd4e18 /source4/torture/raw/samba3misc.c | |
parent | f8c373fd6a93be2327db024f7e149d91a7089590 (diff) | |
download | samba-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/raw/samba3misc.c')
-rw-r--r-- | source4/torture/raw/samba3misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/samba3misc.c b/source4/torture/raw/samba3misc.c index c019c4e2ee..52ace05314 100644 --- a/source4/torture/raw/samba3misc.c +++ b/source4/torture/raw/samba3misc.c @@ -538,13 +538,13 @@ BOOL torture_samba3_badpath(struct torture_context *torture) status = raw_smbcli_t2open(cli_nt->tree, fpath, O_RDONLY | O_CREAT| O_EXCL, DENY_NONE, NULL); if (!NT_STATUS_EQUAL(status, NT_STATUS_EAS_NOT_SUPPORTED) - || !lp_parm_bool(-1, "torture", "samba3", False)) { + || !torture_setting_bool(torture, "samba3", false)) { /* Against samba3, treat EAS_NOT_SUPPORTED as acceptable */ CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_COLLISION); } status = raw_smbcli_t2open(cli_dos->tree, fpath, O_RDONLY | O_CREAT| O_EXCL, DENY_NONE, NULL); if (!NT_STATUS_EQUAL(status, NT_STATUS_DOS(ERRDOS,ERReasnotsupported)) - || !lp_parm_bool(-1, "torture", "samba3", False)) { + || !torture_setting_bool(torture, "samba3", false)) { /* Against samba3, treat EAS_NOT_SUPPORTED as acceptable */ CHECK_STATUS(status, NT_STATUS_DOS(ERRDOS,ERRfilexists)); } |