test: add cygwin feature and use it (test 1056, 1517)

To replace custom checks with the same effect.

Closes #18327
This commit is contained in:
Viktor Szakats 2025-08-20 20:00:49 +02:00
parent 29608d694e
commit 8fac255fc1
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
5 changed files with 11 additions and 22 deletions

View file

@ -568,6 +568,9 @@ sub checksystemfeatures {
$pwd = sys_native_current_path();
$feature{"win32"} = 1;
}
if($curl =~ /cygwin|msys/i) {
$feature{"cygwin"} = 1;
}
if($libcurl =~ /\sschannel\b/i) {
$feature{"Schannel"} = 1;
$feature{"SSLpinning"} = 1;