summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-12-15 17:17:48 -0800
committerTim Prouty <tprouty@samba.org>2009-12-17 17:58:34 -0800
commit5c13a90abebbd9f23c4e426b2f52c7440aa49586 (patch)
treeef334fa78eff3d69d0257db8846c7350e1eb21c9 /source4/torture
parentfbf4923cad17b55bd7a647bf2300b28e23b8cdbb (diff)
downloadsamba-5c13a90abebbd9f23c4e426b2f52c7440aa49586.tar.gz
samba-5c13a90abebbd9f23c4e426b2f52c7440aa49586.tar.bz2
samba-5c13a90abebbd9f23c4e426b2f52c7440aa49586.zip
s4 torture: close handle instead of using exit
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/raw/rename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/rename.c b/source4/torture/raw/rename.c
index 7c9d15b534..187645f964 100644
--- 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);
+ smbcli_close(cli->tree, fnum);
status = smb_raw_rename(cli->tree, &io);
CHECK_STATUS(status, NT_STATUS_OK);