]> git.ipfire.org Git - thirdparty/curl.git/commit
curl: --test-duphandle in debug builds runs "duphandled"
authorDaniel Stenberg <daniel@haxx.se>
Thu, 7 Nov 2024 09:22:32 +0000 (10:22 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 8 Nov 2024 12:22:47 +0000 (13:22 +0100)
commitcbafcec50bc99ba0dd0490e6725351791255abc1
tree2e5fd5dc1d39c988615137e00fc47c76f0a9b29b
parent354f3f96a133bbb15f264714f20d0b3af6b1a154
curl: --test-duphandle in debug builds runs "duphandled"

Using this option (only available in debug builds) makes curl always
call curl_easy_duphandle() on the handle before using it.

To help us catch curl_easy_duphandle() mistakes better.

Add a CI job using this.

Bonus: the previous runtests option -e is now also supported as
--test-event

Closes #15504
19 files changed:
.github/workflows/linux.yml
.github/workflows/macos.yml
src/tool_cfgable.h
src/tool_getparam.c
src/tool_getparam.h
src/tool_operate.c
tests/FILEFORMAT.md
tests/data/test440
tests/data/test441
tests/data/test493
tests/data/test780
tests/data/test781
tests/data/test782
tests/data/test783
tests/globalconfig.pm
tests/runner.pm
tests/runtests.md
tests/runtests.pl
tests/test1139.pl