unit3214: verify struct sizes

This test makes sure that a number of internal and public structs are
within their maximum allowed size limits.

The public structs can only grow in controlled ways, while the internal
ones may be allowed to grow if deemed right.

The idea here is to control, to know and make sure all important struct
growth is intentional.

Closes #17823
This commit is contained in:
Daniel Stenberg 2025-07-05 11:47:35 +02:00
parent 05263820e5
commit 81693c77be
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 109 additions and 2 deletions

View file

@ -278,7 +278,7 @@ test3032 \
test3100 test3101 test3102 test3103 test3104 test3105 \
\
test3200 test3201 test3202 test3203 test3204 test3205 test3207 test3208 \
test3209 test3210 test3211 test3212 test3213 \
test3209 test3210 test3211 test3212 test3213 test3214 \
\
test4000 test4001

22
tests/data/test3214 Normal file
View file

@ -0,0 +1,22 @@
<testcase>
<info>
<keywords>
unittest
size
</keywords>
</info>
#
# Client-side
<client>
<server>
none
</server>
<features>
unittest
</features>
<name>
struct size checks
</name>
</client>
</testcase>