svn commit: samba r14935 - in branches/SAMBA_4_0/source/torture/raw: .

tridge at samba.org tridge at samba.org
Thu Apr 6 02:01:37 GMT 2006


Author: tridge
Date: 2006-04-06 02:01:37 +0000 (Thu, 06 Apr 2006)
New Revision: 14935

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14935

Log:

try to avoid a race condition in the recursion test

Modified:
   branches/SAMBA_4_0/source/torture/raw/notify.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/notify.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/notify.c	2006-04-06 01:58:50 UTC (rev 14934)
+++ branches/SAMBA_4_0/source/torture/raw/notify.c	2006-04-06 02:01:37 UTC (rev 14935)
@@ -315,6 +315,7 @@
 
 	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 @@
 		return False;
 	}
 
-
 	ret &= test_notify_dir(cli, mem_ctx);
 	ret &= test_notify_mask(cli, mem_ctx);
 	ret &= test_notify_recursive(cli, mem_ctx);



More information about the samba-cvs mailing list