From e221db7a39094f0e456388454096d4cdd88082e9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 5 Apr 2006 09:06:09 +0000 Subject: r14928: demonstrate that the completion filter is only set on the first notify on a directory handle (This used to be commit b6e40d9b0832fbab662f9289a30c26e2576b4821) --- source4/torture/raw/notify.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/torture/raw') diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c index 6f847f5f92..467a5a6fff 100644 --- a/source4/torture/raw/notify.c +++ b/source4/torture/raw/notify.c @@ -313,6 +313,7 @@ static BOOL test_notify_recursive(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) smbcli_rename(cli->tree, BASEDIR "\\subdir-name\\subname2", BASEDIR "\\subname2-r"); smbcli_rename(cli->tree, BASEDIR "\\subname2-r", BASEDIR "\\subname3-r"); + notify.in.completion_filter = 0; notify.in.recursive = True; req1 = smb_raw_changenotify_send(cli->tree, ¬ify); -- cgit