Bug: https://bugzilla.samba.org/show_bug.cgi?id=10800
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Sep 8 16:41:51 CEST 2014 on sn-devel-104
static bool test_modify_search(struct torture_context *tctx,
struct smb2_tree *tree)
{
- int num_files = 700;
struct multiple_result result;
union smb_setfileinfo sfinfo;
TALLOC_CTX *mem_ctx = talloc_new(tctx);
struct smb2_handle h;
struct smb2_find f;
union smb_search_data *d;
- struct file_elem files[702] = {};
+ struct file_elem files[703] = {};
+ int num_files = ARRAY_SIZE(files)-3;
NTSTATUS status;
bool ret = true;
int i;