summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2018-04-11 10:33:22 -0700
committerKarolin Seeger <kseeger@samba.org>2018-05-07 09:56:11 +0200
commit81e7736c745dcceb8c1ad3859e33fa8c8de6d47e (patch)
tree08ac30d118343d72639fac124476481202d1683b /selftest/target
parent3d4a8f2c5f1f89415ae52539f3c99e6b0b52f020 (diff)
downloadsamba-81e7736c745dcceb8c1ad3859e33fa8c8de6d47e.tar.gz
s3: tests: Regression test to ensure we can never return a DIRECTORY attribute on a stream.
Tests streams_xattr and also streams_depot. Inspired from a real-world test case by Andrew Walker <awalker@ixsystems.com>. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13380 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Apr 12 02:04:28 CEST 2018 on sn-devel-144 (cherry picked from commit 82beaf868f252c4bc975ddafd80240af6f679b83)
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba3.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 7e4224a4578..1f80f86945b 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -2173,6 +2173,10 @@ sub provision($$$$$$$$$)
kernel oplocks = yes
vfs objects = streams_xattr xattr_tdb
+[streams_xattr]
+ copy = tmp
+ vfs objects = streams_xattr xattr_tdb
+
[compound_find]
copy = tmp
smbd:find async delay usec = 10000