test1517: replace custom check with feature check

This commit is contained in:
Viktor Szakats 2025-08-20 20:09:18 +02:00
parent 833c0e73d4
commit 8cf548b8ed
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 5 additions and 17 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);