From e1c244a1cfc4b1bc24470d77634fb35159dd957d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 2 Jan 2007 16:18:51 +0000 Subject: r20480: In Samba3 we don't yet have support for all 4 file times on all platforms (do we have any?? ;-), so don't mark failure to correctly cope with the close write time as critical. Volker (This used to be commit 42070b09cba8adda1e7606e08764b1f202b33321) --- source4/torture/raw/close.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'source4/torture/raw/close.c') 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; + } } -- cgit