summaryrefslogtreecommitdiff
path: root/source/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-29 19:30:11 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-29 19:30:11 +1000
commit8159b1598e21daee730e185d025694e27df18d1b (patch)
tree13e10bf0297c12629c0c20e66683d23124baa557 /source/torture
parent23ffec5d140463c8307fd7e444ae25781ea3d792 (diff)
downloadsamba-8159b1598e21daee730e185d025694e27df18d1b.tar.gz
check maximal_access here too
Diffstat (limited to 'source/torture')
-rw-r--r--source/torture/smb2/create.c1
1 files changed, 1 insertions, 0 deletions
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);