torture: Add oplock break to l2/none tests
authorVolker Lendecke <vl@samba.org>
Wed, 25 Sep 2013 23:02:20 +0000 (16:02 -0700)
committerStefan Metzmacher <metze@samba.org>
Wed, 23 Oct 2013 09:51:19 +0000 (11:51 +0200)
commit9d3e3a736cad0d1f22f71f108231bae1bd2ece19
tree7fd54baa49831c7b9704a440510e79f968c8d021
parent96faaf6c1ed818fc0aadcb478e9f8b20568d7547
torture: Add oplock break to l2/none tests

The level we have to break to depends on the create disposition of the
second opener. If it's overwriting, break to none. If it's not, break
to level2.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
selftest/knownfail
source4/torture/raw/oplock.c
source4/torture/smb2/oplock.c