summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/read.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-12 18:34:26 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-13 01:59:05 +0200
commit77f739f03a32965b676d97a6f082bb3e023014ef (patch)
tree958d272dbf9f96a966c4b92af8bcb52386139def /source4/torture/smb2/read.c
parentde9b3b61906ae4f1862ccce81577b323fadbb27d (diff)
downloadsamba-77f739f03a32965b676d97a6f082bb3e023014ef.tar.gz
samba-77f739f03a32965b676d97a6f082bb3e023014ef.tar.bz2
samba-77f739f03a32965b676d97a6f082bb3e023014ef.zip
s4:torture/smb2: we only support 64KB reads/writes for now
We don't have multi-credit support yet. metze
Diffstat (limited to 'source4/torture/smb2/read.c')
-rw-r--r--source4/torture/smb2/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smb2/read.c b/source4/torture/smb2/read.c
index 92b3ce0cf7..3600765c8e 100644
--- a/source4/torture/smb2/read.c
+++ b/source4/torture/smb2/read.c
@@ -51,7 +51,7 @@ static bool test_read_eof(struct torture_context *torture, struct smb2_tree *tre
bool ret = true;
NTSTATUS status;
struct smb2_handle h;
- uint8_t buf[70000];
+ uint8_t buf[64*1024];
struct smb2_read rd;
TALLOC_CTX *tmp_ctx = talloc_new(tree);
@@ -143,7 +143,7 @@ static bool test_read_position(struct torture_context *torture, struct smb2_tree
bool ret = true;
NTSTATUS status;
struct smb2_handle h;
- uint8_t buf[70000];
+ uint8_t buf[64*1024];
struct smb2_read rd;
TALLOC_CTX *tmp_ctx = talloc_new(tree);
union smb_fileinfo info;