s4: torture: Tweak the compound padding streamfile test to send 3 reads instead of...
authorJeremy Allison <jra@samba.org>
Fri, 18 Nov 2022 21:30:05 +0000 (13:30 -0800)
committerRalph Boehme <slow@samba.org>
Thu, 1 Dec 2022 15:04:58 +0000 (15:04 +0000)
commitfc6c76e6dabdc20bc7401cc2268baa6edb635ee1
tree15724cb190145d722075e4ac00ccb6e6d330ab5c
parent48b12f11a5c4ebd9affb2a2589f47881b46b659b
s4: torture: Tweak the compound padding streamfile 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 stream filename compound padding test.

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