summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/connect.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-27 14:07:27 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-27 14:07:27 +1000
commit95afe46a0ec550253255f963bc0afe89cf0444ad (patch)
treeb8ed934d1bfbce7316e1e55d1b6cb3c75a8b49be /source4/torture/smb2/connect.c
parentf0b4b15f64259fcdb18f21657434f592bb2f157e (diff)
downloadsamba-95afe46a0ec550253255f963bc0afe89cf0444ad.tar.gz
samba-95afe46a0ec550253255f963bc0afe89cf0444ad.tar.bz2
samba-95afe46a0ec550253255f963bc0afe89cf0444ad.zip
expanded the SMB2 create testing
(This used to be commit 71915128498674d9937780b9278fd2ac1eb06ba8)
Diffstat (limited to 'source4/torture/smb2/connect.c')
-rw-r--r--source4/torture/smb2/connect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/smb2/connect.c b/source4/torture/smb2/connect.c
index 0004ea958e..826bb2d719 100644
--- a/source4/torture/smb2/connect.c
+++ b/source4/torture/smb2/connect.c
@@ -139,7 +139,7 @@ static NTSTATUS torture_smb2_write(struct torture_context *tctx, struct smb2_tre
/*
send a create
*/
-static struct smb2_handle torture_smb2_create(struct smb2_tree *tree,
+static struct smb2_handle torture_smb2_createfile(struct smb2_tree *tree,
const char *fname)
{
struct smb2_create io;
@@ -200,8 +200,8 @@ bool torture_smb2_connect(struct torture_context *torture)
return false;
}
- h1 = torture_smb2_create(tree, "test9.dat");
- h2 = torture_smb2_create(tree, "test9.dat");
+ h1 = torture_smb2_createfile(tree, "test9.dat");
+ h2 = torture_smb2_createfile(tree, "test9.dat");
status = torture_smb2_write(torture, tree, h1);
if (!NT_STATUS_IS_OK(status)) {
printf("Write failed - %s\n", nt_errstr(status));