summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2021-06-14 16:34:14 -0700
committerNoel Power <npower@samba.org>2021-06-15 11:06:23 +0000
commit582030bae25c65b2ae7176d427923c24b7e54220 (patch)
treed61347488a265cb8a11f33b5131ca2a0d3eee8e4 /source3/torture/torture.c
parent0ec865d979540a63362a2014358c8bb27efc0081 (diff)
downloadsamba-582030bae25c65b2ae7176d427923c24b7e54220.tar.gz
s3: torture: Add POSIX-SYMLINK-GETPATHINFO regression test.
This ensure we never blunder into indirecting a NULL fsp pointer in the server. We already pass this, but this test will ensure we continue to do so as we make fileserver changes. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Noel Power<npower@samba.org> Autobuild-User(master): Noel Power <npower@samba.org> Autobuild-Date(master): Tue Jun 15 11:06:23 UTC 2021 on sn-devel-184
Diffstat (limited to 'source3/torture/torture.c')
-rw-r--r--source3/torture/torture.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 914c7705faf..0187ebf7a43 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -14964,6 +14964,10 @@ static struct {
.fn = run_posix_dir_default_acl_test,
},
{
+ .name = "POSIX-SYMLINK-GETPATHINFO",
+ .fn = run_posix_symlink_getpathinfo_test,
+ },
+ {
.name = "WINDOWS-BAD-SYMLINK",
.fn = run_symlink_open_test,
},