1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r14935: try to avoid a race condition in the recursion test

(This used to be commit 659576806f)
This commit is contained in:
Andrew Tridgell 2006-04-06 02:01:37 +00:00 committed by Gerald (Jerry) Carter
parent 51a5b79ec0
commit 0dce9b003c

View File

@ -315,6 +315,7 @@ static BOOL test_notify_recursive(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
notify.in.completion_filter = 0;
notify.in.recursive = True;
msleep(10);
req1 = smb_raw_changenotify_send(cli->tree, &notify);
smbcli_rmdir(cli->tree, BASEDIR "\\subdir-name\\subname1-r");
@ -870,7 +871,6 @@ BOOL torture_raw_notify(struct torture_context *torture)
return False;
}
ret &= test_notify_dir(cli, mem_ctx);
ret &= test_notify_mask(cli, mem_ctx);
ret &= test_notify_recursive(cli, mem_ctx);