summaryrefslogtreecommitdiff
path: root/source4/torture/raw/close.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/raw/close.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/raw/close.c')
-rw-r--r--source4/torture/raw/close.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/close.c b/source4/torture/raw/close.c
index 0e2543cfcf..6af234e4b4 100644
--- a/source4/torture/raw/close.c
+++ b/source4/torture/raw/close.c
@@ -101,13 +101,13 @@ BOOL torture_raw_close(struct torture_context *torture)
printf("Incorrect times after close - only write time should be set\n");
dump_all_info(mem_ctx, &finfo);
- if (!lp_parm_bool(-1, "torture", "samba3", False)) {
+ if (!torture_setting_bool(torture, "samba3", false)) {
/*
* In Samba3 as of 3.0.23d we don't yet support all
* file times, so don't mark this as a critical
* failure
*/
- ret = False;
+ ret = false;
}
}