1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

s4 torture: close handle instead of using exit

This commit is contained in:
Tim Prouty 2009-12-15 17:17:48 -08:00
parent fbf4923cad
commit 5c13a90abe

View File

@ -305,7 +305,7 @@ static bool test_ntrename(struct torture_context *tctx,
status = smb_raw_rename(cli->tree, &io);
CHECK_STATUS(status, NT_STATUS_SHARING_VIOLATION);
smb_raw_exit(cli->session);
smbcli_close(cli->tree, fnum);
status = smb_raw_rename(cli->tree, &io);
CHECK_STATUS(status, NT_STATUS_OK);