summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/basic/disconnect.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/torture/basic/disconnect.c b/source4/torture/basic/disconnect.c
index b5f6eb5311..683cdb81c8 100644
--- a/source4/torture/basic/disconnect.c
+++ b/source4/torture/basic/disconnect.c
@@ -59,8 +59,12 @@ static BOOL test_disconnect_open(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
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 @@ static BOOL test_disconnect_lock(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
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;