diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-05-29 19:30:11 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-05-29 19:30:11 +1000 |
commit | 8159b1598e21daee730e185d025694e27df18d1b (patch) | |
tree | 13e10bf0297c12629c0c20e66683d23124baa557 /source/torture | |
parent | 23ffec5d140463c8307fd7e444ae25781ea3d792 (diff) | |
download | samba-8159b1598e21daee730e185d025694e27df18d1b.tar.gz |
check maximal_access here too
Diffstat (limited to 'source/torture')
-rw-r--r-- | source/torture/smb2/create.c | 1 |
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); |