From: Andrew Tridgell Date: Thu, 29 May 2008 09:30:11 +0000 (+1000) Subject: check maximal_access here too X-Git-Tag: samba-4.0.0alpha4~9^2~8^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8159b1598e21daee730e185d025694e27df18d1b;p=thirdparty%2Fsamba.git check maximal_access here too --- diff --git a/source/torture/smb2/create.c b/source/torture/smb2/create.c index eb6b333ef5d..c23ff8b8ce9 100644 --- a/source/torture/smb2/create.c +++ b/source/torture/smb2/create.c @@ -256,6 +256,7 @@ static bool test_create_blob(struct torture_context *torture, struct smb2_tree * io.in.query_maximal_access = true; status = smb2_create(tree, tmp_ctx, &io); CHECK_STATUS(status, NT_STATUS_OK); + CHECK_EQUAL(io.out.maximal_access, 0x001f01ff); status = smb2_util_close(tree, io.out.file.handle); CHECK_STATUS(status, NT_STATUS_OK);