[SCM] Samba Shared Repository - branch master updated - 687ce0b60a3913b0f2eca2365a5ab56e78523ab5

Jeremy Allison jra at samba.org
Tue Sep 30 19:46:25 GMT 2008


The branch, master has been updated
       via  687ce0b60a3913b0f2eca2365a5ab56e78523ab5 (commit)
      from  a238f17e2785da4f11411c6a4dd20fdcb3c349b6 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 687ce0b60a3913b0f2eca2365a5ab56e78523ab5
Author: root <root at google.com>
Date:   Tue Sep 30 12:44:24 2008 -0700

    Use a getatr instead to make things cleaner.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source4/torture/raw/notify.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c
index 14ee231..d7541b7 100644
--- a/source4/torture/raw/notify.c
+++ b/source4/torture/raw/notify.c
@@ -584,7 +584,8 @@ static bool test_notify_mask(struct smbcli_state *cli, struct torture_context *t
 	notify.nttrans.in.recursive = true;
 
 #define NOTIFY_MASK_TEST(test_name, setup, op, cleanup, Action, expected, nchanges) \
-	smbcli_unlink(cli->tree, test_name); \
+	do { \
+	smbcli_getatr(cli->tree, test_name, NULL, NULL, NULL); \
 	do { for (mask=i=0;i<32;i++) { \
 		struct smbcli_request *req; \
 		status = smb_raw_open(cli->tree, tctx, &io); \
@@ -641,7 +642,8 @@ static bool test_notify_mask(struct smbcli_state *cli, struct torture_context *t
 			       mask, expected); \
 		} \
 	} \
-	} while (0)
+	} while (0); \
+	} while (0);
 
 	printf("testing mkdir\n");
 	NOTIFY_MASK_TEST("testing mkdir",;,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list