mirror of
https://github.com/curl/curl.git
synced 2026-08-25 18:43:41 +03:00
test1521: test *all* curl_easy_setopt options
mk-lib1521.pl generates a test program (lib1521.c) that calls curl_easy_setopt() for every known option with a few typical values to make sure they work (ignoring the return codes). Some small changes were necessary to avoid asserts and NULL accesses when doing this. The perl script needs to be manually rerun when we add new options. Closes #1543
This commit is contained in:
parent
b95a07ea59
commit
cccac4fb2b
7 changed files with 998 additions and 29 deletions
30
tests/data/test1521
Normal file
30
tests/data/test1521
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
curl_easy_setopt
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
none
|
||||
</server>
|
||||
<tool>
|
||||
lib1521
|
||||
</tool>
|
||||
|
||||
<name>
|
||||
try ALL curl_easy_setopt options
|
||||
</name>
|
||||
<command>
|
||||
unused
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue