selftest: Samba4 passes all oplocks tests now
authorStefan Metzmacher <metze@samba.org>
Sat, 23 Feb 2008 10:54:01 +0000 (11:54 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 26 Feb 2008 08:33:01 +0000 (09:33 +0100)
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

source/samba4-knownfail
source/samba4-skip
source/selftest/target/Samba4.pm

index 18fb4b914bbfaef1c12888496ea4d1c0ac901519..4d850caae5fe9543e2ce8756a5a741a47ffa2242 100644 (file)
@@ -3,7 +3,6 @@ local.iconv.*.next_codepoint()
 base.delaywrite.finfo update on close
 base.delete.*.deltest20a
 base.delete.*.deltest20b
-raw.oplock.*.OPLOCK
 rpc.winreg
 local.registry.*.security # Not implemented yet
 rpc.wkssvc
index 541738ecc4e444aa05de43a09aa322de0ab665d5..4d2da6ed646434e1a31b22c17c481d8593f8372c 100644 (file)
@@ -1,12 +1,10 @@
 base.delaywrite
 raw.composite
-raw.oplock
 base.iometer
 base.casetable
 base.nttrans
 .*base.bench.holdcon.*                         # Very slow
 base.scan.maxfid
-raw.bench.oplock
 raw.hold.oplock
 raw.ping.pong
 rpc.samr_accessmask
@@ -25,9 +23,7 @@ ntvfs.cifs.base.scan-maxfid
 ntvfs.cifs.base.utable
 ntvfs.cifs.base.smb
 ntvfs.cifs.raw.composite
-ntvfs.cifs.raw.oplock
 ntvfs.cifs.raw.notify
-ntvfs.cifs.raw.bench-oplock
 ntvfs.cifs.raw.scan-eamax
 ntvfs.cifs.raw.context
 ntvfs.cifs.raw.qfileinfo.ipc
index 37e3cbe3549f09561dac353b0952b8161e551fc1..e0be8048a0c5ce744d7e4f74e8e7fd188d050729 100644 (file)
@@ -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