mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
s4 torture: close handle instead of using exit
This commit is contained in:
parent
fbf4923cad
commit
5c13a90abe
@ -305,7 +305,7 @@ static bool test_ntrename(struct torture_context *tctx,
|
|||||||
status = smb_raw_rename(cli->tree, &io);
|
status = smb_raw_rename(cli->tree, &io);
|
||||||
CHECK_STATUS(status, NT_STATUS_SHARING_VIOLATION);
|
CHECK_STATUS(status, NT_STATUS_SHARING_VIOLATION);
|
||||||
|
|
||||||
smb_raw_exit(cli->session);
|
smbcli_close(cli->tree, fnum);
|
||||||
status = smb_raw_rename(cli->tree, &io);
|
status = smb_raw_rename(cli->tree, &io);
|
||||||
CHECK_STATUS(status, NT_STATUS_OK);
|
CHECK_STATUS(status, NT_STATUS_OK);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user