summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2017-05-31 14:43:41 -0700
committerJeremy Allison <jra@samba.org>2017-07-26 09:30:31 +0200
commitffee37c243d016804b2394ea3b6a3aedd79a1f6b (patch)
treef5b16e7fb443459e3add2502aa47b00dccf58bd2 /selftest
parent8865dede5703a93c71fc2cb9417688f751ea2c69 (diff)
downloadsamba-ffee37c243d016804b2394ea3b6a3aedd79a1f6b.tar.gz
torture: Add sharemode tests for SMB2
There are two pieces: Test access with different sharemodes through SMB and verify access, and also provide tests that can be used with file systems enforcing share modes outside of Samba. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jul 26 09:30:31 CEST 2017 on sn-devel-144
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail1
-rw-r--r--selftest/skip4
2 files changed, 5 insertions, 0 deletions
diff --git a/selftest/knownfail b/selftest/knownfail
index f41b99d0e39..1b5a98c59b5 100644
--- a/selftest/knownfail
+++ b/selftest/knownfail
@@ -140,6 +140,7 @@
^samba4.smb2.getinfo.qfs_buffercheck # S4 does not do the INFO_LENGTH_MISMATCH/BUFFER_OVERFLOW thingy
^samba4.smb2.getinfo.qfile_buffercheck # S4 does not do the INFO_LENGTH_MISMATCH/BUFFER_OVERFLOW thingy
^samba4.smb2.getinfo.qsec_buffercheck # S4 does not do the BUFFER_TOO_SMALL thingy
+^samba4.smb2.sharemode
^samba4.ntvfs.cifs.krb5.base.createx_access.createx_access\(.*\)$
^samba4.rpc.lsa.forest.trust #Not fully provided by Samba4
^samba4.blackbox.upgradeprovision.alpha13.ldapcmp_sd\(none\) # Due to something rewriting the NT ACL on DNS objects
diff --git a/selftest/skip b/selftest/skip
index fd9932a47c0..c2c4553c3fe 100644
--- a/selftest/skip
+++ b/selftest/skip
@@ -64,6 +64,8 @@
^samba3.*raw.qfsinfo
^samba3.*raw.sfileinfo.base
^samba3.smb2.hold-oplock # Not a test, but a way to block other clients for a test
+^samba3.smb2.hold-sharemode # Not a test, but a way to block other clients for a test
+^samba3.smb2.check-sharemode # Not a test, but a way to test sharemodes outside of Samba
^samba3.smb2.durable-open-disconnect # Not a test, but a way to create a disconnected durable
^samba3.smb2.scan # No tests
^samba3.smb2.oplock.levelii501 # No test yet
@@ -75,6 +77,8 @@
^samba4.raw.eas
^samba4.raw.hold-oplock # Not a test, but a way to block other clients for a test
^samba4.smb2.hold-oplock # Not a test, but a way to block other clients for a test
+^samba4.smb2.hold-sharemode # Not a test, but a way to block other clients for a test
+^samba4.smb2.check-sharemode # Not a test, but a way to test sharemodes outside of Samba
^samba4.raw.ping.pong # Needs second server to test
^samba4.rpc.samr.accessmask
^samba4.rpc.samr.passwords.*ncacn_np\(ad_dc_ntvfs\) # currently fails, possibly config issue