To replace custom checks with the same effect.
Closes #18327
- `codeset-utf8`. If the running codeset is UTF-8 capable.
- `cookies`
- `crypto`
+- `cygwin`
- `Debug`
- `digest`
- `DoH`
# This test relies on the IPv6 scope field being ignored when connecting to
# ipv6-localhost (i.e. [::1%259999] is treated as [::1]). Maybe this is a bit
# dodgy, but it happens on all our test platforms but Windows so skip this
-# test there. This feature doesn't work on msys or Cygwin, so use a precheck
-# to skip those.
+# test there. Not supported on the Windows kernel, this includes MSYS2/Cygwin.
<features>
IPv6
+!cygwin
!win32
</features>
<server>
<command>
http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
</command>
-<precheck>
-%PERL -e "print 'Test is not supported on the Windows kernel' if($^O eq 'MSWin32' || $^O eq 'msys' || $^O eq 'cygwin');"
-</precheck>
</client>
#
# Client-side
<client>
+# Windows TCP does not deliver response data but reports CONNABORTED
+<features>
+!cygwin
+!win32
+</features>
<server>
http
</server>
<tool>
lib%TESTNUMBER
</tool>
-# precheck is a command line to run before the test, to see if we can execute
-# the test or not
-<precheck>
-%LIBTESTS lib%TESTNUMBER check
-</precheck>
-
<name>
HTTP POST, server responds before completed send
</name>
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);
$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;