mirror of
https://github.com/curl/curl.git
synced 2026-08-09 12:14:18 +03:00
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:
parent
05263820e5
commit
81693c77be
4 changed files with 109 additions and 2 deletions
|
|
@ -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
22
tests/data/test3214
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue