s4: torture: Tweak the compound padding basefile test to send 3 reads instead of...
commit48b12f11a5c4ebd9affb2a2589f47881b46b659b
authorJeremy Allison <jra@samba.org>
Fri, 18 Nov 2022 21:23:48 +0000 (18 13:23 -0800)
committerRalph Boehme <slow@samba.org>
Thu, 1 Dec 2022 15:04:58 +0000 (1 15:04 +0000)
tree002e4dfba17cf100dfe795c6f8d5d62b13a9c672
parentf5b2ae58093a0920c7be0394f638b73736fbebc2
s4: torture: Tweak the compound padding basefile test to send 3 reads instead of 2, and check the middle read padding.

The protocol allows the last read in a related compound to be split
off and possibly go async (and smbd soon will do this). If the
last read is split off, then the padding is different. By sending
3 reads and checking the padding on the 2nd read, we cope with
the smbd change and are still correctly checking the padding
on a compound related read.

Do this for the base filename compound padding test.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source4/torture/smb2/compound.c