selftest: Show vfs_virusscanner crashes when traversing a 2-level directory tree.
authorJeremy Allison <jra@samba.org>
Thu, 12 Jan 2023 18:22:09 +0000 (10:22 -0800)
committerVolker Lendecke <vl@samba.org>
Fri, 13 Jan 2023 07:34:35 +0000 (07:34 +0000)
commitc844bff3eca336547c6cedfeeb03adda4eed57c6
tree9a2f195ea56a850846266a821a3dd7b259f556ee
parent1421969b86bf2eab2d192d4a071080b2d021cd38
selftest: Show vfs_virusscanner crashes when traversing a 2-level directory tree.

Modify check_infected_read() test to use a 2-level deep
directory.

We must have vfs_default:VFS_OPEN_HOW_RESOLVE_NO_SYMLINKS = no
set on the virusscanner share as otherwise the openat flag
shortcut defeats the test.

Add knownfail.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
selftest/knownfail.d/virusscanner [new file with mode: 0644]
selftest/target/Samba3.pm
source3/script/tests/test_virus_scanner.sh