torture: Extend raw.oplock.batch10
authorVolker Lendecke <vl@samba.org>
Mon, 9 Sep 2013 18:53:15 +0000 (18:53 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 14 Oct 2013 23:52:29 +0000 (01:52 +0200)
commitc92ac4c8eebf4ddaaab4e8b640650406b259b05d
tree431f0c1fbbe9657c9e5eac6f9ef63d35189af60e
parentfcafaf6022832835fc8fa76a4c33056605dc53e4
torture: Extend raw.oplock.batch10

With FAKE_LEVEL_II_OPLOCKS around we did not grant LEVEL2 after
a NO_OPLOCK file got written to. Windows does grant LEVEL2 in this
case. With the have_level2_oplocks in brlocks.tdb we can now grant LEVEL2
in this case as well.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/raw/oplock.c