curl/tests/libtest
Viktor Szakats 36afa2772f
lib1960.c unconst
```
home/runner/work/curl/curl/tests/libtest/lib1960.c:66:44: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual]
 #define my_inet_pton(x, y, z) inet_pton(x, (unsigned char *)y, z)
                                            ^
/home/runner/work/curl/curl/tests/libtest/lib1960.c:107:6: note: in expansion of macro 'my_inet_pton'
   if(my_inet_pton(AF_INET, libtest_arg2, &serv_addr.sin_addr) <= 0) {
      ^~~~~~~~~~~~
```
https://github.com/curl/curl/actions/runs/27428676624/job/81073057087
2026-06-12 18:43:07 +02:00
..
.gitignore
cli_ftp_upload.c cli_ftp_upload.c portability 2026-06-12 18:41:58 +02:00
cli_h2_pausing.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
cli_h2_serverpush.c
cli_h2_upgrade_extreme.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
cli_hx_download.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
cli_hx_upload.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
cli_tls_session_reuse.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
cli_upload_pausing.c tidy-up: miscellaneous 2026-05-16 01:56:17 +02:00
cli_ws_data.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
cli_ws_pingpong.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
CMakeLists.txt
first.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
first.h libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib500.c progress: fx CURLINFO time reporting 2026-06-07 14:39:10 +02:00
lib501.c tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
lib502.c
lib503.c
lib504.c
lib505.c lib505: tidy up slist pointer use 2026-06-01 23:36:04 +02:00
lib506.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib507.c
lib508.c
lib509.c
lib510.c
lib511.c
lib512.c
lib513.c
lib514.c
lib515.c
lib516.c
lib517.c
lib518.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib519.c
lib520.c
lib521.c
lib523.c
lib524.c
lib525.c
lib526.c
lib530.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib533.c
lib536.c tidy-up: use test/example domains more 2026-06-02 15:31:48 +02:00
lib537.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib539.c
lib540.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib541.c
lib542.c
lib543.c
lib544.c
lib547.c
lib549.c
lib552.c
lib553.c
lib554.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib555.c
lib556.c
lib557.c tidy-up: miscellaneous 2026-06-05 16:57:38 +02:00
lib558.c
lib559.c
lib560.c
lib562.c
lib564.c
lib566.c
lib567.c
lib568.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib569.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib570.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib571.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib572.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib573.c
lib574.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib575.c
lib576.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
lib578.c
lib579.c
lib582.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib583.c tidy-up: miscellaneous 2026-06-05 16:57:38 +02:00
lib586.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib589.c
lib590.c
lib591.c
lib597.c
lib598.c
lib599.c tidy-up: miscellaneous 2026-06-05 16:57:38 +02:00
lib643.c
lib650.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib651.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib652.c
lib653.c
lib654.c
lib655.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib658.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib659.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib661.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib666.c
lib667.c
lib668.c
lib670.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib674.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib676.c
lib677.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib678.c tidy-up: use curlx_safefree() 2026-05-21 01:31:03 +02:00
lib694.c
lib695.c lib695, lib757: fix truncated newline in error messages 2026-06-12 01:33:05 +02:00
lib751.c
lib753.c
lib757.c lib695, lib757: fix truncated newline in error messages 2026-06-12 01:33:05 +02:00
lib758.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib766.c
lib1156.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1301.c
lib1308.c
lib1485.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1500.c
lib1501.c
lib1502.c
lib1506.c
lib1507.c
lib1508.c
lib1509.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1510.c
lib1511.c
lib1512.c
lib1513.c
lib1514.c
lib1515.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1517.c
lib1518.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib1520.c
lib1522.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1523.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib1525.c
lib1526.c
lib1527.c
lib1528.c
lib1529.c
lib1530.c
lib1531.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1532.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1533.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1534.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1535.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1536.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
lib1537.c tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
lib1538.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1540.c
lib1541.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1542.c
lib1545.c
lib1549.c
lib1550.c
lib1551.c
lib1552.c
lib1553.c
lib1554.c
lib1555.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1556.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1557.c
lib1558.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1559.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1560.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
lib1564.c
lib1565.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1567.c
lib1568.c
lib1569.c
lib1571.c
lib1576.c
lib1582.c
lib1587.c lib1587: drop redundant includes 2026-06-08 00:42:51 +02:00
lib1588.c
lib1589.c setopt: changing the proxy port is also a proxy change 2026-05-04 00:14:06 +02:00
lib1591.c
lib1592.c tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
lib1593.c
lib1594.c
lib1597.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1598.c
lib1599.c
lib1647.c url: detect proxy changes read from environment 2026-05-19 17:14:16 +02:00
lib1648.c tidy-up: miscellaneous 2026-05-27 16:53:57 +02:00
lib1649.c transfer: clear referer when set to NULL 2026-05-26 10:04:40 +02:00
lib1662.c
lib1686.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib1900.c
lib1901.c tidy-up: miscellaneous 2026-06-05 16:57:38 +02:00
lib1902.c tidy-up: miscellaneous 2026-06-05 16:57:38 +02:00
lib1903.c
lib1905.c
lib1906.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1907.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1908.c tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
lib1910.c
lib1911.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1912.c GHA: enable -Wunused-macros in clang-tidy jobs 2026-05-16 01:17:41 +02:00
lib1913.c
lib1915.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1916.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1918.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib1919.c
lib1920.c tidy-up: miscellaneous 2026-06-05 16:57:38 +02:00
lib1921.c urlapi: handle redirect without set scheme with default-scheme 2026-05-16 11:46:16 +02:00
lib1922.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib1933.c
lib1934.c
lib1935.c
lib1936.c
lib1937.c
lib1938.c
lib1939.c tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
lib1940.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib1945.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib1947.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib1948.c
lib1955.c
lib1956.c
lib1957.c
lib1958.c
lib1959.c
lib1960.c lib1960.c unconst 2026-06-12 18:43:07 +02:00
lib1964.c
lib1965.c
lib1967.c urlapi: fix redirect handling if CURLU_NO_GUESS_SCHEME is set 2026-05-22 07:48:20 +02:00
lib1970.c
lib1971.c
lib1972.c
lib1973.c
lib1974.c
lib1975.c
lib1977.c tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
lib1978.c creds: hold credentials 2026-05-12 16:05:15 +02:00
lib2023.c
lib2032.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib2082.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib2301.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib2302.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib2304.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib2306.c
lib2308.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib2309.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib2402.c
lib2404.c
lib2405.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib2502.c
lib2504.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib2505.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib2506.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib2700.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib3010.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib3025.c
lib3026.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib3027.c tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
lib3033.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib3034.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib3100.c build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
lib3101.c
lib3102.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
lib3103.c
lib3104.c
lib3105.c
lib3207.c tidy-up: miscellaneous 2026-05-20 00:50:43 +02:00
lib3208.c
Makefile.am
Makefile.inc digest: flush state on origin or credential change 2026-06-10 13:20:03 +02:00
memptr.c
mk-lib1521.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
test307.pl
test610.pl
test613.pl tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
test1013.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
test1022.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
testtrace.c
testtrace.h
testutil.c libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
testutil.h libtests: add and use tutil_throwaway_cb 2026-06-11 23:17:05 +02:00
unitcheck.h units: drop redundant pointer check and workaround 2026-06-01 22:36:40 +02:00