git.samba.org
/
ab
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d033ec
)
SMB2-CONNECT: make it possible to specific the max write size via --option=torture...
author
Stefan Metzmacher
<metze@samba.org>
Wed, 3 Jun 2009 08:49:44 +0000
(10:49 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 3 Jun 2009 08:50:52 +0000
(10:50 +0200)
metze
source4/torture/smb2/connect.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/connect.c
b/source4/torture/smb2/connect.c
index 01ffffa48474fa5e83ce025a618be8c3ac79e0f9..bd1abce82788b7311f242103234bbf175bf2fba7 100644
(file)
--- a/
source4/torture/smb2/connect.c
+++ b/
source4/torture/smb2/connect.c
@@
-78,7
+78,7
@@
static NTSTATUS torture_smb2_write(struct torture_context *tctx, struct smb2_tre
} else if (torture_setting_bool(tctx, "samba4", false)) {
data = data_blob_talloc(tree, NULL, UINT16_MAX);
} else {
- data = data_blob_talloc(tree, NULL,
120000
);
+ data = data_blob_talloc(tree, NULL,
torture_setting_int(tctx, "smb2maxwrite", 120000)
);
}
for (i=0;i<data.length;i++) {
data.data[i] = i;