diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-01-02 16:18:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:35:58 -0500 |
commit | e1c244a1cfc4b1bc24470d77634fb35159dd957d (patch) | |
tree | eafc257e94b2c10f83523b5a29563dc673b6eb76 | |
parent | b885bc4a20e99a77d433b46c7af68cb0b5914208 (diff) | |
download | samba-e1c244a1cfc4b1bc24470d77634fb35159dd957d.tar.gz samba-e1c244a1cfc4b1bc24470d77634fb35159dd957d.tar.bz2 samba-e1c244a1cfc4b1bc24470d77634fb35159dd957d.zip |
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)
-rw-r--r-- | source4/torture/raw/close.c | 10 |
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; + } } |