curl/tests/libtest
Daniel Stenberg cccac4fb2b 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
2017-06-05 14:25:18 +02:00
..
.gitignore gitignore: Sort for readability 2015-08-18 01:03:05 -04:00
chkhostname.c tests/libtest: follow our code style guidelines better 2016-04-03 11:57:34 +02:00
CMakeLists.txt CMake: Try to (un-)hide private library symbols 2016-09-10 00:35:38 +02:00
first.c tests: fix -Wcast-qual warnings 2017-05-05 21:29:50 +02:00
lib500.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib501.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib502.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
lib503.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
lib504.c tests/libtest: follow our code style guidelines better 2016-04-03 11:57:34 +02:00
lib505.c tests/libtest: follow our code style guidelines better 2016-04-03 11:57:34 +02:00
lib506.c tests: fix -Wcast-qual warnings 2017-05-05 21:29:50 +02:00
lib507.c checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
lib508.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib509.c tests: declare TU-local variables static 2017-05-01 12:55:09 +02:00
lib510.c lib510: don't write past the end of the buffer if it's too small 2017-05-13 23:13:09 +02:00
lib511.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib512.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
lib513.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib514.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib515.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib516.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib517.c parsedate: handle cut off numbers better 2016-10-31 08:46:35 +01:00
lib518.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib519.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib520.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib521.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib523.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib524.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib525.c code: style updates 2016-04-03 22:38:36 +02:00
lib526.c spelling fixes 2017-03-26 23:56:23 +02:00
lib530.c curl/mprintf.h: remove support for _MPRINTF_REPLACE 2016-04-01 10:46:36 +02:00
lib533.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
lib536.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
lib537.c test537: use correct variable type 2017-05-08 09:19:18 +02:00
lib539.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib540.c tests: declare TU-local variables static 2017-05-01 12:55:09 +02:00
lib541.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib542.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib543.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib544.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib547.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib549.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib552.c libtest: fix implicit-fallthrough warnings with GCC 7 2017-06-03 20:12:23 +02:00
lib553.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib554.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib555.c libtest: fix MinGW-w64 warnings 2017-05-08 19:59:46 +02:00
lib556.c curl_easy_recv: Improve documentation and example program 2016-12-18 12:56:23 +01:00
lib557.c test557: fix ubsan runtime error due to int left shift 2017-05-29 18:04:53 -04:00
lib558.c code: style updates 2016-04-03 22:38:36 +02:00
lib559.c test559: verify use of minimum CURLOPT_BUFFERSIZE 2017-05-04 15:39:04 +02:00
lib560.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
lib562.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib564.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
lib566.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib567.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib568.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib569.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib570.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib571.c libtest: fix int-in-bool-context warnings 2017-06-03 20:18:34 +02:00
lib572.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib573.c code: style updates 2016-04-03 22:38:36 +02:00
lib574.c libtest/lib574.c: use correct callback proto 2017-05-31 11:56:53 +02:00
lib575.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
lib576.c code: style updates 2016-04-03 22:38:36 +02:00
lib578.c libtest: fix MinGW-w64 warnings 2017-05-08 19:59:46 +02:00
lib579.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib582.c time: fix type conversions and compiler warnings 2017-05-24 22:56:22 +02:00
lib583.c lib583: fix compiler warning 2017-05-31 19:05:50 +02:00
lib586.c tests: fix -Wcast-qual warnings 2017-05-05 21:29:50 +02:00
lib590.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib591.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
lib597.c tests/libtest: follow our code style guidelines better 2016-04-03 11:57:34 +02:00
lib598.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib599.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib1500.c checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
lib1501.c time: fix type conversions and compiler warnings 2017-05-24 22:56:22 +02:00
lib1502.c checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
lib1506.c tests/libtest: follow our code style guidelines better 2016-04-03 11:57:34 +02:00
lib1507.c time: fix type conversions and compiler warnings 2017-05-24 22:56:22 +02:00
lib1508.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
lib1509.c tests: declare TU-local variables static 2017-05-01 12:55:09 +02:00
lib1510.c tests/libtest: follow our code style guidelines better 2016-04-03 11:57:34 +02:00
lib1511.c checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00
lib1512.c tests/libtest: follow our code style guidelines better 2016-04-03 11:57:34 +02:00
lib1513.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
lib1514.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
lib1515.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib1517.c lib1517: checksrc compliance 2016-04-24 12:27:39 +02:00
lib1520.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib1521.c test1521: test *all* curl_easy_setopt options 2017-06-05 14:25:18 +02:00
lib1525.c libtest: fix MinGW-w64 warnings 2017-05-08 19:59:46 +02:00
lib1526.c libtest: fix MinGW-w64 warnings 2017-05-08 19:59:46 +02:00
lib1527.c libtest: fix MinGW-w64 warnings 2017-05-08 19:59:46 +02:00
lib1528.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib1529.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib1530.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib1531.c tests: declare TU-local variables static 2017-05-01 12:55:09 +02:00
lib1532.c easy: Reset all statistical session info in curl_easy_reset 2016-09-20 01:14:01 -04:00
lib1533.c checksrc: warn for assignments within if() expressions 2016-12-14 01:29:44 +01:00
lib1534.c easy: Initialize info variables on easy init and duphandle 2016-11-05 23:06:28 -04:00
lib1535.c tests: Add some testcases for recent new features. 2016-11-26 17:04:55 +01:00
lib1536.c lib1536: checksrc compliance 2016-11-28 03:06:04 -05:00
lib1537.c test1537: dedicated tests of the URL (un)escape API calls 2017-06-02 13:16:18 +02:00
lib1538.c test1538: verify the libcurl strerror API calls 2017-06-02 13:52:55 +02:00
lib1540.c pause: handle mixed types of data when paused 2017-03-28 13:27:49 +02:00
lib1541.c test1541: also test for CURL_PULL_WS2TCPIP_H 2017-04-12 11:09:00 +02:00
lib1900.c time: fix type conversions and compiler warnings 2017-05-24 22:56:22 +02:00
libauthretry.c tests: fix the authretry tests 2017-03-11 20:21:56 +01:00
libntlmconnect.c libtest: fix int-in-bool-context warnings 2017-06-03 20:18:34 +02:00
Makefile.am spelling fixes 2017-03-26 23:56:23 +02:00
Makefile.inc test1521: test *all* curl_easy_setopt options 2017-06-05 14:25:18 +02:00
mk-lib1521.pl test1521: test *all* curl_easy_setopt options 2017-06-05 14:25:18 +02:00
notexists.pl tests 1334 to 1363 revisited. 2012-06-05 20:20:40 +02:00
sethostname.c URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
sethostname.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
test75.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test307.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test610.pl replaced tabs with spaces 2010-02-16 13:32:45 +00:00
test613.pl tests: added --remote-time tests for remaining protocols that support it 2017-04-29 10:16:06 +02:00
test1013.pl test1013.pl: GSS-Negotiate doesn't exist as a feature anymore 2014-07-24 23:46:11 +02:00
test1022.pl Fixed test 1023 when using daily snapshots 2011-04-21 14:47:35 -07:00
test.h tests: fix -Wcast-qual warnings 2017-05-05 21:29:50 +02:00
testtrace.c libtest: fix implicit-fallthrough warnings with GCC 7 2017-06-03 20:12:23 +02:00
testtrace.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
testutil.c time: fix type conversions and compiler warnings 2017-05-24 22:56:22 +02:00
testutil.h time: fix type conversions and compiler warnings 2017-05-24 22:56:22 +02:00