svn commit: samba r3634 - in
branches/SAMBA_4_0/source/torture/basic: .
tridge at samba.org
tridge at samba.org
Tue Nov 9 09:35:45 GMT 2004
Author: tridge
Date: 2004-11-09 09:35:45 +0000 (Tue, 09 Nov 2004)
New Revision: 3634
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3634
Log:
- fixed BASE-DISCONNECT test to force the async packets to be sent by
waiting for a chkpath response
- fixed open async send in BASE-DISCONNECT
with these changes BASE-DISCONNECT crashes Samba4, as it was designed
to do. I'll work on a fix :)
Modified:
branches/SAMBA_4_0/source/torture/basic/disconnect.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/basic/disconnect.c
===================================================================
--- branches/SAMBA_4_0/source/torture/basic/disconnect.c 2004-11-09 09:26:47 UTC (rev 3633)
+++ branches/SAMBA_4_0/source/torture/basic/disconnect.c 2004-11-09 09:35:45 UTC (rev 3634)
@@ -59,8 +59,12 @@
status = smb_raw_open(cli->tree, mem_ctx, &io);
CHECK_STATUS(status, NT_STATUS_OK);
+ io.ntcreatex.in.share_access = 0;
req1 = smb_raw_open_send(cli->tree, &io);
req2 = smb_raw_open_send(cli->tree, &io);
+
+ status = smbcli_chkpath(cli->tree, "\\");
+ CHECK_STATUS(status, NT_STATUS_OK);
talloc_free(cli);
@@ -106,6 +110,9 @@
io.lockx.in.timeout = 3000;
req = smb_raw_lock_send(cli->tree, &io);
+ status = smbcli_chkpath(cli->tree, "\\");
+ CHECK_STATUS(status, NT_STATUS_OK);
+
talloc_free(cli);
return True;
More information about the samba-cvs
mailing list