git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4 torture: close handle instead of using exit
[ira/wip.git]
/
source4
/
torture
/
raw
/
rename.c
diff --git
a/source4/torture/raw/rename.c
b/source4/torture/raw/rename.c
index 7c9d15b53458cee62bcb3315e45293ebd497e2ab..187645f964ecc27b6763a28b1ecd7991dceceab8 100644
(file)
--- a/
source4/torture/raw/rename.c
+++ b/
source4/torture/raw/rename.c
@@
-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
);
+ smb
cli_close(cli->tree, fnum
);
status = smb_raw_rename(cli->tree, &io);
CHECK_STATUS(status, NT_STATUS_OK);