s4:torture/smb2: we only support 64KB reads/writes for now
[obnox/samba/samba-obnox.git] / source4 / torture / smb2 / read.c
index 92b3ce0cf705c4e9db075f91b89800c31db3c740..3600765c8e966199bf54e86bc0021794411de446 100644 (file)
@@ -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;