svn commit: samba r21124 - in
branches/SAMBA_4_0/source/torture/raw: .
vlendec at samba.org
vlendec at samba.org
Fri Feb 2 15:36:17 GMT 2007
Author: vlendec
Date: 2007-02-02 15:36:17 +0000 (Fri, 02 Feb 2007)
New Revision: 21124
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21124
Log:
Samba3 does not support create times correctly.
Volker
Modified:
branches/SAMBA_4_0/source/torture/raw/notify.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/notify.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/notify.c 2007-02-02 14:55:21 UTC (rev 21123)
+++ branches/SAMBA_4_0/source/torture/raw/notify.c 2007-02-02 15:36:17 UTC (rev 21124)
@@ -541,13 +541,21 @@
NOTIFY_ACTION_MODIFIED,
FILE_NOTIFY_CHANGE_ATTRIBUTES, 1);
- printf("testing set file create time\n");
- NOTIFY_MASK_TEST(
- fnum2 = create_complex_file(cli, mem_ctx, BASEDIR "\\tname1");,
- smbcli_fsetatr(cli->tree, fnum2, 0, t, 0, 0, 0);,
- (smbcli_close(cli->tree, fnum2), smbcli_unlink(cli->tree, BASEDIR "\\tname1"));,
- NOTIFY_ACTION_MODIFIED,
- FILE_NOTIFY_CHANGE_CREATION, 1);
+ if (lp_parm_bool(-1, "torture", "samba3", False)) {
+ printf("Samba3 does not yet support create times "
+ "everywhere\n");
+ }
+ else {
+ printf("testing set file create time\n");
+ NOTIFY_MASK_TEST(
+ fnum2 = create_complex_file(cli, mem_ctx,
+ BASEDIR "\\tname1");,
+ smbcli_fsetatr(cli->tree, fnum2, 0, t, 0, 0, 0);,
+ (smbcli_close(cli->tree, fnum2),
+ smbcli_unlink(cli->tree, BASEDIR "\\tname1"));,
+ NOTIFY_ACTION_MODIFIED,
+ FILE_NOTIFY_CHANGE_CREATION, 1);
+ }
printf("testing set file access time\n");
NOTIFY_MASK_TEST(
More information about the samba-cvs
mailing list