curl-curl/tests/server
Viktor Szakats 6897aeb105
tests: drop mk-bundle exceptions
Using a mixture of techniques to avoid symbols collisions:
- reduce scope.
- add `t*_` / `T*_` prefix.
- move shared functions to `testutil.c`.
  (`suburl()`, `rlim2str()`)
- clone re-used lib*.c sources.
  (lib587, lib645)
- include shared symbols just once in re-used `lib*.c` sources.
  (using `LIB*_C` guards.)
- drop re-used `lib*.c` sources where they were identical or
  unused.
- make macros global.
- #undef macros before use.

What remain is the entry functions `test`, and `unit_setup`,
`unit_stop` in unit tests.

Also:
- fix formatting and other minor things along the way.
- add `const` where possible.
- sync some symbol names between tests.
- drop `mk-bundle-hints.sh` that's no longer necessary.

Closes #17468
2025-06-11 05:39:19 +02:00
..
.checksrc checksrc: use 'banfunc' proper in more places 2025-01-13 09:10:58 +01:00
.gitignore rtmp: remove no longer used proto member 2025-05-08 10:24:19 +02:00
CMakeLists.txt tests/server: stop using libcurl string comparisons 2025-05-13 10:28:19 +02:00
dnsd.c tests/server: stop using libcurl's printf functions 2025-05-12 22:45:37 +02:00
first.c tests: drop mk-bundle exceptions 2025-06-11 05:39:19 +02:00
first.h tests/server: support bundle binary 2025-03-16 14:02:08 +01:00
getpart.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
getpart.h tests/server: sync memory callbacks with lib/easy.c 2025-03-13 11:36:53 +01:00
Makefile.am checksrc: avoid extra runs in CI, enable more check locally, fix fallouts 2025-05-19 18:59:50 +02:00
Makefile.inc tests/server/Makefile.inc: cleanup 2025-05-13 14:19:01 +02:00
mk-bundle.pl tests: drop mk-bundle exceptions 2025-06-11 05:39:19 +02:00
mqttd.c tests/server: stop using libcurl's printf functions 2025-05-12 22:45:37 +02:00
resolve.c tests/server: remove TEST use, include <memdebug.h> 2025-05-12 13:20:54 +02:00
rtspd.c tests/server: stop using libcurl string comparisons 2025-05-13 10:28:19 +02:00
server_setup.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
server_sockaddr.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
sockfilt.c tests/server: stop using libcurl's printf functions 2025-05-12 22:45:37 +02:00
socksd.c tests/server: stop using libcurl's printf functions 2025-05-12 22:45:37 +02:00
sws.c tests/server: stop using libcurl string comparisons 2025-05-13 10:28:19 +02:00
tftp.h tftpd: prefix TFTP protocol error E* constants with TFTP_ 2025-03-11 08:50:09 +01:00
tftpd.c tests/server: stop using libcurl's printf functions 2025-05-12 22:45:37 +02:00
util.c tests/server: stop using libcurl's printf functions 2025-05-12 22:45:37 +02:00
util.h tests/server: stop using libcurl string comparisons 2025-05-13 10:28:19 +02:00