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

@ -61,17 +61,6 @@ static CURLcode test_lib1517(const char *URL)
struct t1517_WriteThis pooh;
if(!strcmp(URL, "check")) {
#if (defined(_WIN32) || defined(__CYGWIN__))
curl_mprintf("Windows TCP does not deliver response data but reports "
"CONNABORTED\n");
return TEST_ERR_FAILURE; /* skip since it fails on Windows without
workaround */
#else
return CURLE_OK; /* sure, run this! */
#endif
}
pooh.readptr = testdata;
pooh.sizeleft = strlen(testdata);