mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:torture:raw:notify: remove extra do-loop in NOTIFY_MASK_TEST macro.
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
parent
0aebd5f0fe
commit
cf2f75ca4a
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user