git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aebd5f
)
s4:torture:raw:notify: remove extra do-loop in NOTIFY_MASK_TEST macro.
author
Michael Adam
<obnox@samba.org>
Thu, 26 Mar 2015 23:43:30 +0000
(
00:43
+0100)
committer
Günther Deschner
<gd@samba.org>
Mon, 30 Mar 2015 11:41:26 +0000
(13:41 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source4/torture/raw/notify.c
patch
|
blob
|
history
diff --git
a/source4/torture/raw/notify.c
b/source4/torture/raw/notify.c
index d060538402872e3d91b0d49333ad7a22f256acb2..d745b936831e981729534b43fe0bf5de5a3d0cf5 100644
(file)
--- a/
source4/torture/raw/notify.c
+++ b/
source4/torture/raw/notify.c
@@
-731,7
+731,7
@@
static bool test_notify_mask(struct torture_context *tctx,
#define NOTIFY_MASK_TEST(test_name, setup, op, cleanup, Action, expected, nchanges) \
do { \
smbcli_getatr(cli->tree, test_name, NULL, NULL, NULL); \
-
do {
for (mask=i=0;i<32;i++) { \
+ for (mask=i=0;i<32;i++) { \
struct smbcli_request *req; \
status = smb_raw_open(cli->tree, tctx, &io); \
torture_assert_ntstatus_ok_goto(tctx, status, ret, done, \
@@
-790,7
+790,6
@@
static bool test_notify_mask(struct torture_context *tctx,
mask, expected); \
} \
} \
- } while (0); \
} while (0);
printf("Testing mkdir\n");