summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-10-24 15:55:20 +0200
committerJeremy Allison <jra@samba.org>2020-06-27 04:20:39 +0000
commitf1ecaa75a2f2685f2dcf0836f0d41827de7fa081 (patch)
treefe5170046ee13aad2cdbe62066f32a23a2d8d210 /selftest
parent303a01d93d9bc6f8de1ae516126f802dce13ab0b (diff)
downloadsamba-f1ecaa75a2f2685f2dcf0836f0d41827de7fa081.tar.gz
selftest/Samba3: support durable handles on the 'aio' share
This means we can test the lock sequence checking via the 'samba3.smb2.lock aio(nt4_dc)' test. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail3
-rwxr-xr-xselftest/target/Samba3.pm2
2 files changed, 3 insertions, 2 deletions
diff --git a/selftest/knownfail b/selftest/knownfail
index 57a4d93a37d..0e2f2c9edef 100644
--- a/selftest/knownfail
+++ b/selftest/knownfail
@@ -214,7 +214,8 @@
^samba3.smb2.replay.channel-sequence
^samba3.smb2.replay.replay3
^samba3.smb2.replay.replay4
-^samba3.smb2.lock.*replay
+^samba3.smb2.lock.replay_smb3_specification # This requires multi-chanel or durable handles
+^samba3.smb2.lock.*replay_broken_windows # This tests the windows behaviour
^samba3.smb2.lease.statopen3
^samba3.smb2.lease.unlink # we currently do not downgrade RH lease to R after unlink
^samba3.smb2.multichannel
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index d99a59dca73..591c43b7d0a 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -2467,7 +2467,7 @@ sub provision($$)
force directory mode = 0
vfs objects = xattr_tdb streams_depot
[aio]
- copy = tmp
+ copy = durable
aio read size = 1
aio write size = 1