s3: tests: Add samba3.blackbox.test_veto_files.
authorJeremy Allison <jra@samba.org>
Thu, 11 Aug 2022 16:51:11 +0000 (09:51 -0700)
committerStefan Metzmacher <metze@samba.org>
Tue, 16 Aug 2022 07:33:36 +0000 (07:33 +0000)
commitc6933673222ea9ae2eb74d5586c9495269f51ea0
tree8d8c903075cf40a5b7d004edd802069162fcdf6d
parent076c22fbd7ecbf22dbfeb1711609f07fd42f88b0
s3: tests: Add samba3.blackbox.test_veto_files.

Shows we currently don't look at smb.conf veto files parameter
when opening a file or directory. Checks multi-component paths.
Also checks veto files that might be hidden behind a mangled
name.

Add knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15143

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
selftest/knownfail.d/veto_files [new file with mode: 0644]
selftest/target/Samba3.pm
source3/script/tests/test_veto_files.sh [new file with mode: 0755]
source3/selftest/tests.py