summaryrefslogtreecommitdiff
path: root/source4/selftest/target
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-23 11:54:01 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-26 09:33:01 +0100
commit9ddbdfa02cfaa0df6ce944d6dfecf6850ab0b2f8 (patch)
treebb0673a2a4696e4013080b856c88f6d2cf6b9e98 /source4/selftest/target
parentfa2e4ba03cd65f850d8f118ce61d5c4a80f0e30a (diff)
downloadsamba-9ddbdfa02cfaa0df6ce944d6dfecf6850ab0b2f8.tar.gz
samba-9ddbdfa02cfaa0df6ce944d6dfecf6850ab0b2f8.tar.bz2
samba-9ddbdfa02cfaa0df6ce944d6dfecf6850ab0b2f8.zip
selftest: Samba4 passes all oplocks tests now
The support for oplocks is not completely finished I believe we will not pass some non existing test. But it's a good start. metze (This used to be commit 278eea57fa9f59908672c935187f942e7780f0aa)
Diffstat (limited to 'source4/selftest/target')
-rw-r--r--source4/selftest/target/Samba4.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/selftest/target/Samba4.pm b/source4/selftest/target/Samba4.pm
index 37e3cbe354..e0be8048a0 100644
--- a/source4/selftest/target/Samba4.pm
+++ b/source4/selftest/target/Samba4.pm
@@ -562,12 +562,16 @@ sub provision($$$$$$)
gensec:require_pac = true
log level = $smbd_loglevel
+ # this is a global option
+ opendb:oplocks = yes
+
[tmp]
path = $tmpdir
read only = no
ntvfs handler = posix
posix:sharedelay = 100000
posix:eadb = $lockdir/eadb.tdb
+ posix:oplocktimeout = 3
[test1]
path = $tmpdir/test1
@@ -575,6 +579,7 @@ sub provision($$$$$$)
ntvfs handler = posix
posix:sharedelay = 100000
posix:eadb = $lockdir/eadb.tdb
+ posix:oplocktimeout = 3
[test2]
path = $tmpdir/test2
@@ -582,6 +587,7 @@ sub provision($$$$$$)
ntvfs handler = posix
posix:sharedelay = 100000
posix:eadb = $lockdir/eadb.tdb
+ posix:oplocktimeout = 3
[cifs]
read only = no