tests: Add samba3.blackbox.zero_readsize test.
authorJeremy Allison <jra@samba.org>
Tue, 21 Mar 2023 17:31:36 +0000 (10:31 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 29 Mar 2023 17:55:51 +0000 (17:55 +0000)
commit006fe806782c42e860ed2cf2bc9f6b1b82c3a307
treeadebb4671cfbe48575da61468d9dc3e3a3b07957
parentb755b81d66a2b63e2e0a1fe9406d8f24b91d983e
tests: Add samba3.blackbox.zero_readsize test.

smbclient crashes when smbd has "smb2 max read = 0"
in the [global] section of smb.conf.

We should fail the protocol negotiation with
NT_STATUS_INVALID_NETWORK_RESPONSE in this case.

Adds knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15306

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
selftest/knownfail.d/smb2_zero_readsize [new file with mode: 0644]
source3/script/tests/test_zero_readsize.sh [new file with mode: 0755]
source3/selftest/tests.py