s3: tests: Add new test_stream_dir_rename.sh test.
commitc54bec26ad23b0121b2ddfbf04bc81050f27e6e1
authorJeremy Allison <jra@samba.org>
Tue, 28 Feb 2023 19:18:10 +0000 (28 11:18 -0800)
committerRalph Boehme <slow@samba.org>
Fri, 3 Mar 2023 15:44:33 +0000 (3 15:44 +0000)
tree362c79661a7468b21d7902ab2ceb021ffeb04fed
parent5a3db5105bd8360b245cd35810002740ccff605c
s3: tests: Add new test_stream_dir_rename.sh test.

Shows we are leaking an fsp/fd if we request a non-existent stream on a file.
This then causes rename of a directory containing the file to be denied, as
it thinks we have an existing open file below it.

Add knownfail.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
selftest/knownfail.d/stream_rename [new file with mode: 0644]
source3/script/tests/test_stream_dir_rename.sh [new file with mode: 0755]
source3/selftest/tests.py