]> git.ipfire.org Git - thirdparty/samba.git/commit
selftest: Add a python blackbox test for some misc (widelink) DFS tests
authorNoel Power <noel.power@suse.com>
Tue, 11 Jun 2024 10:19:50 +0000 (11:19 +0100)
committerJule Anger <janger@samba.org>
Wed, 3 Jul 2024 08:48:12 +0000 (08:48 +0000)
commit6c86b5199366ab3b6b3e2f38937e0a79a34c2d84
tree6f82518c95697324e38559112f14469fa08a524e
parentfd58608723f9f76dc3d80d16d88d865aba916e59
selftest: Add a python blackbox test for some misc (widelink) DFS tests

On master attempting to chdir into a nested dfs link

e.g. cd dfslink (works)
     cd dfslink/another_dfslink (fails)

[1] Add a test for this scenario (nested chdir)
[2] Add test for enumerating a dfs link in root of dfs share
[3] Add a test to check case insensitive chdir into dfs link on widelink
  enabled share

Add knownfails for tests 1 and 3

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15435
(cherry picked from commit 7f1de90f72d6e8287aec6ab1d9f7776b7df624e5)

[noel.power@suse.com backported to Samba 4.19 changed knownfails because
  test_ci_chdir doen't fail in 4.19 but test_enumerate_dfs_link does]
python/samba/tests/blackbox/misc_dfs_widelink.py [new file with mode: 0644]
selftest/knownfail.d/dfs_widelink [new file with mode: 0644]
source4/selftest/tests.py