diff --git a/selftest/knownfail.d/bug-15505 b/selftest/knownfail.d/bug-15505 new file mode 100644 index 00000000000..9f244964047 --- /dev/null +++ b/selftest/knownfail.d/bug-15505 @@ -0,0 +1 @@ +^samba3.blackbox.smbclient_s3.*.follow\ local\ symlinks.* \ No newline at end of file diff --git a/source3/script/tests/test_smbclient_s3.sh b/source3/script/tests/test_smbclient_s3.sh index cbff5026ee7..e4b05b12dfa 100755 --- a/source3/script/tests/test_smbclient_s3.sh +++ b/source3/script/tests/test_smbclient_s3.sh @@ -1492,6 +1492,17 @@ EOF return fi + # Create a file to be accessed behind the symlink + touch $local_slink_target_dir/x + ret=$? + if [ $ret -ne 0 ]; then + echo "$out" + echo "failed - unable to create file" + ls -la $local_test_dir + false + return + fi + # Can we cd into the symlink name and ls ? tmpfile=$PREFIX/smbclient_interactive_prompt_commands cat >$tmpfile <$tmpfile <