summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2017-06-23 11:12:22 -0700
committerJeremy Allison <jra@samba.org>2017-06-26 23:16:13 +0200
commitf1f388ef80a6516c2f44b7778420f8ffe28c6471 (patch)
tree785669ceba3c7828f88fee6adbfc569afd2d0ac3 /selftest/target
parentbcfa12c5b26502230a9c27492cf3a607fc41939d (diff)
downloadsamba-f1f388ef80a6516c2f44b7778420f8ffe28c6471.tar.gz
s3: smbd: Add regression test for non-wide symlinks to directories fail over SMB3.
Mark as knownfail. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12860 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba3.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index d93d98e3af3..6854d7c0ecd 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -1355,6 +1355,9 @@ sub provision($$$$$$$$$)
my $nosymlinks_shrdir="$shrdir/nosymlinks";
push(@dirs,$nosymlinks_shrdir);
+ my $local_symlinks_shrdir="$shrdir/local_symlinks";
+ push(@dirs,$local_symlinks_shrdir);
+
# this gets autocreated by winbindd
my $wbsockdir="$prefix_abs/winbindd";
@@ -1976,6 +1979,11 @@ sub provision($$$$$$$$$)
path = $nosymlinks_shrdir
follow symlinks = no
+[local_symlinks]
+ copy = tmp
+ path = $local_symlinks_shrdir
+ follow symlinks = yes
+
[kernel_oplocks]
copy = tmp
kernel oplocks = yes