svn commit: samba r20480 - in branches/SAMBA_4_0/source/torture/raw: .

vlendec at samba.org vlendec at samba.org
Tue Jan 2 16:18:52 GMT 2007


Author: vlendec
Date: 2007-01-02 16:18:51 +0000 (Tue, 02 Jan 2007)
New Revision: 20480

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20480

Log:
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


Modified:
   branches/SAMBA_4_0/source/torture/raw/close.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/close.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/close.c	2007-01-02 15:07:27 UTC (rev 20479)
+++ branches/SAMBA_4_0/source/torture/raw/close.c	2007-01-02 16:18:51 UTC (rev 20480)
@@ -101,7 +101,15 @@
 			  &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;
+		}
 	}
 	    
 



More information about the samba-cvs mailing list