s4:torture/smb2: fix and improve the smb2.lock.replay test
authorMichael Adam <obnox@samba.org>
Thu, 20 Sep 2018 10:45:17 +0000 (12:45 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 15 Oct 2019 07:36:22 +0000 (09:36 +0200)
commit8e848968414341b401cb24205c1a51f006a9fe57
tree875d9620300afebce9a0147f068f6ed8d16871d0
parentc16cc9a7ef3dc50df511d6a39437347ebc36383e
s4:torture/smb2: fix and improve the smb2.lock.replay test

The test was wrong in that it used an invalid
lock sequence bucket (65) where it actually wanted
to use a valid on (64), and hence the test results
(which were adapted to the real responses) were not
quite logical.

This patch fixes this and also improves some of
the comments so that the flow of the patch becomes
a little more obvious.

Pair-Programmed-With: Günther Deschner <gd@samba.org>

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/torture/smb2/lock.c