summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-07-31 10:52:40 +0200
committerStefan Metzmacher <metze@samba.org>2019-08-01 14:21:36 +0000
commit10e140d25cd3cad8428e3b080ef28dd237d903d5 (patch)
tree1e050fbf8f21624ca4aa91d26a52f5765109d723 /source3/torture
parent21f6cece543dd791e0f4636458bfe9819823420c (diff)
downloadsamba-10e140d25cd3cad8428e3b080ef28dd237d903d5.tar.gz
s3:torture: Fix the FreeBSD build
Bug: https://bugzilla.samba.org/show_bug.cgi?id=14060 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index ad6b3458f3c..2779e8e3aa8 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -13993,10 +13993,12 @@ static struct {
.name = "OPLOCK4",
.fn = run_oplock4,
},
+#ifdef HAVE_KERNEL_OPLOCKS_LINUX
{
.name = "OPLOCK5",
.fn = run_oplock5,
},
+#endif
{
.name = "DIR",
.fn = run_dirtest,