torture: fix and improve the smb2.lock.replay test
authorMichael Adam <obnox@samba.org>
Thu, 20 Sep 2018 10:45:17 +0000 (12:45 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 16 Oct 2018 09:41:54 +0000 (11:41 +0200)
commitd60e12e6ca8a7a51771f9aa8bc84112b1f9c7583
tree9877318c6989d94887ccaefd304f912b96804a73
parent62c4d99e7cb7361b117df8e462d326645d8b8883
torture: 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.

Signed-off-by: Michael Adam <obnox@samba.org>
source4/torture/smb2/lock.c