summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/raw/close.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/source4/torture/raw/close.c b/source4/torture/raw/close.c
index 5969a7f687..d844ad8526 100644
--- a/source4/torture/raw/close.c
+++ b/source4/torture/raw/close.c
@@ -101,7 +101,15 @@ BOOL torture_raw_close(struct torture_context *torture)
&finfo.all_info.out.change_time)) {
printf("Incorrect times after close - only write time should be set\n");
dump_all_info(mem_ctx, &finfo);
- ret = False;
+
+ if (!lp_parm_bool(-1, "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;
+ }
}