mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
torture: Continue buffer check after NOT_IMPLEMENTED infolevels
Patch from the SDC plugfest. Not every implementation supports every infolevel, and we want to be able to test buffersize error behaviour for all supported infolevels Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
c944d2ea41
commit
960bd9a584
@ -328,6 +328,9 @@ static bool torture_smb2_qfile_buffercheck(struct torture_context *tctx)
|
||||
b.in.output_buffer_length = 65535;
|
||||
|
||||
status = smb2_getinfo(tree, tree, &b);
|
||||
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
|
||||
continue;
|
||||
}
|
||||
torture_assert_ntstatus_equal(
|
||||
tctx, status, NT_STATUS_OK,
|
||||
"Wrong error code for large buffer");
|
||||
|
Loading…
Reference in New Issue
Block a user