curl/tests
Viktor Szakats 9f9d2d10d9
lib1587: fix gcc -Wconversion with LibreSSL on Windows, test in CI
By exposing and reusing existing custom type via `vtls/openss.h`.

Also:
- GHA/curl-for-win: test in CI by enabling building tests.
  Cost is 45s per job, so limit it to the gcc job.

Seen with Windows x64 gcc (not tested in CI prior to this patch):
```
tests/libtest/lib1587.c:50:7: error: conversion from 'opt1587' {aka 'long long unsigned int'} to 'long int' may change value [-Werror=conversion]
   50 |       SSL_CTX_set_options(info->internals, opts);
      |       ^~~~~~~~~~~~~~~~~~~
tests/libtest/lib1587.c:59:7: error: conversion from 'opt1587' {aka 'long long unsigned int'} to 'long int' may change value [-Werror=conversion]
   59 |       SSL_set_options(info->internals, opts);
      |       ^~~~~~~~~~~~~~~
```
Ref: https://github.com/curl/curl/actions/runs/28258372229/job/83727170184?pr=22195#step:3:4884

Ref: da2f05e6f6 #22198
Ref: 6163566461 #22197
Follow-up to 3e40ccb875 #21290
Follow-up to 2db8ae480f #17809 #17801

Closes #22195
2026-06-26 22:44:53 +02:00
..
certs cmake: replace deprecated remove command with rm and pass arg safely 2026-06-26 19:01:30 +02:00
cmake scripts: use end-of-options marker in cd, mkdir, mv, sha256sum commands 2026-06-25 11:32:36 +02:00
data http: trim custom header name before the Authorization drop 2026-06-26 14:50:04 +02:00
http tidy-up: docs, comments, typos, whitespace 2026-06-26 11:36:09 +02:00
libtest lib1587: fix gcc -Wconversion with LibreSSL on Windows, test in CI 2026-06-26 22:44:53 +02:00
server tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
tunit build: enable -Wformat-signedness, fix issues found 2026-06-10 15:14:08 +02:00
unit tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
.gitignore build: stop building and installing runtests.1 and testcurl.1 2026-04-28 09:07:27 +02:00
allversions.pm tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
appveyor.pm perl: switch from backticks to qx() 2026-06-14 14:25:02 +02:00
azure.pm perl: switch from backticks to qx() 2026-06-14 14:25:02 +02:00
CMakeLists.txt cmake: fix not to build tunits when BUILD_CURL_EXE=OFF 2026-06-26 21:12:35 +02:00
config.in
configurehelp.pm.in
devtest.pl perl: switch from backticks to qx() 2026-06-14 14:25:02 +02:00
dictserver.py tests: make whitespace between functions and classes consistent 2026-04-08 10:28:05 -07:00
directories.pm tidy-up: miscellaneous 2025-12-12 04:18:48 +01:00
ech_combos.py tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
ech_tests.sh scripts: use end-of-options marker in cd, mkdir, mv, sha256sum commands 2026-06-25 11:32:36 +02:00
ftpserver.pl tidy-up: docs, comments, typos, whitespace 2026-06-26 11:36:09 +02:00
getpart.pm perl: || die -> or die 2026-06-16 00:41:29 +02:00
globalconfig.pm tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
http-server.pl tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
http2-server.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
http3-server.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
Makefile.am tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
memanalyze.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
memanalyzer.pm tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
negtelnetserver.py tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
nghttpx.conf
pathhelp.pm tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
processhelp.pm tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
requirements.txt GHA: bump actions and pips 2026-05-01 21:19:22 +02:00
rtspserver.pl tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
runner.pm perl: open... || -> open... or (cont.) 2026-06-16 19:11:15 +02:00
runtests.pl tidy-up: docs, comments, typos, whitespace 2026-06-26 11:36:09 +02:00
secureserver.pl perl: || die -> or die 2026-06-16 00:41:29 +02:00
serverhelp.pm tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
servers.pm perl: || die -> or die 2026-06-16 00:41:29 +02:00
smbserver.py tidy-up: miscellaneous 2026-06-11 19:48:07 +02:00
sshhelp.pm perl: switch from backticks to qx() 2026-06-14 14:25:02 +02:00
sshserver.pl perl: || die -> or die 2026-06-16 00:41:29 +02:00
test745.pl perl: || die -> or die 2026-06-16 00:41:29 +02:00
test971.pl perl: || die -> or die 2026-06-16 00:41:29 +02:00
test1119.pl perl: open... || -> open... or (cont.) 2026-06-16 19:11:15 +02:00
test1135.pl perl: || die -> or die 2026-06-16 00:41:29 +02:00
test1139.pl tidy-up: docs, comments, typos, whitespace 2026-06-26 11:36:09 +02:00
test1140.pl tidy-up: docs, comments, typos, whitespace 2026-06-26 11:36:09 +02:00
test1165.pl perl: || die -> or die 2026-06-16 00:41:29 +02:00
test1167.pl perl: open... || -> open... or (cont.) 2026-06-16 19:11:15 +02:00
test1173.pl perl: open... || -> open... or (cont.) 2026-06-16 19:11:15 +02:00
test1175.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
test1177.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
test1222.pl perl: open... || -> open... or (cont.) 2026-06-16 19:11:15 +02:00
test1275.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
test1276.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
test1477.pl perl: || die -> or die 2026-06-16 00:41:29 +02:00
test1486.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
test1488.pl perl: open... || -> open... or (cont.) 2026-06-16 19:11:15 +02:00
test1544.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
test1707.pl tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
testcurl.pl perl: switch from backticks to qx() 2026-06-14 14:25:02 +02:00
testutil.pm tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
tftpserver.pl tidy-up: miscellaneous 2026-06-01 22:33:57 +02:00
util.py tests: make whitespace between functions and classes consistent 2026-04-08 10:28:05 -07:00
valgrind.pm perl: open... || -> open... or (cont.) 2026-06-16 19:11:15 +02:00
valgrind.supp