s3: torture: Add samba3.smbtorture_s3.plain.POSIX-SYMLINK-CHMOD
authorJeremy Allison <jra@samba.org>
Mon, 19 Apr 2021 23:25:51 +0000 (16:25 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 20 Apr 2021 07:39:37 +0000 (07:39 +0000)
commit249565c65af05fb88e15ed10d0ff770c97c938ff
treef6f0aabfcc5c62702a97a459649f2ac9b1ae58bb
parent25a2b7324bb615012571de566c1c7944ba1f4e58
s3: torture: Add samba3.smbtorture_s3.plain.POSIX-SYMLINK-CHMOD

Shows we must protect against a null fsp handle when doing POSIX chmod on a symlink,
whether the symlink points to a real object or is dangling.

Add to knownfail for now. Commit 9722732b1867e359304594ada72ff40cd1341be5
removed the fsp == NULL protection for POSIX, and we need to put it back.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
selftest/knownfail.d/symlink_chmod [new file with mode: 0644]
source3/selftest/tests.py
source3/torture/proto.h
source3/torture/test_posix.c
source3/torture/torture.c