test1056: disable on Windows

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 works on all our test platforms except Windows. This
test was disabled manually on all Windows CI builds already, so instead
add an incompatible feature and precheck so it's skipped on Windows
everywhere automatically.
This commit is contained in:
Dan Fandrich 2023-09-11 23:47:35 -07:00
parent 2e2fc007c8
commit 223f601c04
3 changed files with 22 additions and 13 deletions

View File

@ -312,4 +312,4 @@ stages:
displayName: 'test' displayName: 'test'
env: env:
AZURE_ACCESS_TOKEN: "$(System.AccessToken)" AZURE_ACCESS_TOKEN: "$(System.AccessToken)"
TFLAGS: "-ac /usr/bin/curl.exe !IDN !SCP ~612 ~1056 $(tests)" TFLAGS: "-ac /usr/bin/curl.exe !IDN !SCP ~612 $(tests)"

View File

@ -83,7 +83,7 @@ environment:
HTTP_ONLY: OFF HTTP_ONLY: OFF
TESTING: ON TESTING: ON
SHARED: OFF SHARED: OFF
DISABLED_TESTS: "!1139 !1501 ~1056" DISABLED_TESTS: "!1139 !1501"
ADD_PATH: "C:\\msys64\\usr\\bin" ADD_PATH: "C:\\msys64\\usr\\bin"
- job_name: "CMake, VS2022, Debug x64, Schannel, Static, Unicode" - job_name: "CMake, VS2022, Debug x64, Schannel, Static, Unicode"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022" APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022"
@ -97,7 +97,7 @@ environment:
HTTP_ONLY: OFF HTTP_ONLY: OFF
TESTING: ON TESTING: ON
SHARED: OFF SHARED: OFF
DISABLED_TESTS: "~571 !1139 !1501 ~1056" DISABLED_TESTS: "~571 !1139 !1501"
ADD_PATH: "C:\\msys64\\usr\\bin" ADD_PATH: "C:\\msys64\\usr\\bin"
- job_name: "CMake, VS2022, Debug x64, no SSL, Static" - job_name: "CMake, VS2022, Debug x64, no SSL, Static"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022" APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022"
@ -111,7 +111,7 @@ environment:
HTTP_ONLY: OFF HTTP_ONLY: OFF
TESTING: ON TESTING: ON
SHARED: OFF SHARED: OFF
DISABLED_TESTS: "~571 !1139 !1501 ~1056" DISABLED_TESTS: "~571 !1139 !1501"
ADD_PATH: "C:\\msys64\\usr\\bin" ADD_PATH: "C:\\msys64\\usr\\bin"
- job_name: "CMake, VS2022, Debug x64, no SSL, Static, HTTP only" - job_name: "CMake, VS2022, Debug x64, no SSL, Static, HTTP only"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022" APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022"
@ -125,7 +125,7 @@ environment:
HTTP_ONLY: ON HTTP_ONLY: ON
TESTING: ON TESTING: ON
SHARED: OFF SHARED: OFF
DISABLED_TESTS: "!1139 !1501 ~1056" DISABLED_TESTS: "!1139 !1501"
ADD_PATH: "C:\\msys64\\usr\\bin" ADD_PATH: "C:\\msys64\\usr\\bin"
# generated CMake-based MSYS Makefiles builds (mingw cross-compiling) # generated CMake-based MSYS Makefiles builds (mingw cross-compiling)
- job_name: "CMake, mingw-w64, gcc 8, Debug x64, Schannel, Static, Unicode" - job_name: "CMake, mingw-w64, gcc 8, Debug x64, Schannel, Static, Unicode"
@ -139,7 +139,7 @@ environment:
HTTP_ONLY: OFF HTTP_ONLY: OFF
TESTING: ON TESTING: ON
SHARED: OFF SHARED: OFF
DISABLED_TESTS: "!1139 !1501 ~1056" DISABLED_TESTS: "!1139 !1501"
ADD_PATH: "C:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\bin;C:\\msys64\\usr\\bin" ADD_PATH: "C:\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\bin;C:\\msys64\\usr\\bin"
MSYS2_ARG_CONV_EXCL: "/*" MSYS2_ARG_CONV_EXCL: "/*"
BUILD_OPT: -k BUILD_OPT: -k
@ -154,7 +154,7 @@ environment:
HTTP_ONLY: OFF HTTP_ONLY: OFF
TESTING: ON TESTING: ON
SHARED: OFF SHARED: OFF
DISABLED_TESTS: "!1139 !1501 ~1056" DISABLED_TESTS: "!1139 !1501"
ADD_PATH: "C:\\mingw-w64\\x86_64-7.2.0-posix-seh-rt_v5-rev1\\mingw64\\bin;C:\\msys64\\usr\\bin" ADD_PATH: "C:\\mingw-w64\\x86_64-7.2.0-posix-seh-rt_v5-rev1\\mingw64\\bin;C:\\msys64\\usr\\bin"
MSYS2_ARG_CONV_EXCL: "/*" MSYS2_ARG_CONV_EXCL: "/*"
BUILD_OPT: -k BUILD_OPT: -k
@ -184,7 +184,7 @@ environment:
HTTP_ONLY: OFF HTTP_ONLY: OFF
TESTING: ON TESTING: ON
SHARED: OFF SHARED: OFF
DISABLED_TESTS: "!1139 !1501 ~1056" DISABLED_TESTS: "!1139 !1501"
ADD_PATH: "C:\\mingw-w64\\i686-6.3.0-posix-dwarf-rt_v5-rev1\\mingw32\\bin;C:\\msys64\\usr\\bin" ADD_PATH: "C:\\mingw-w64\\i686-6.3.0-posix-dwarf-rt_v5-rev1\\mingw32\\bin;C:\\msys64\\usr\\bin"
MSYS2_ARG_CONV_EXCL: "/*" MSYS2_ARG_CONV_EXCL: "/*"
BUILD_OPT: -k BUILD_OPT: -k
@ -199,7 +199,7 @@ environment:
HTTP_ONLY: OFF HTTP_ONLY: OFF
TESTING: ON TESTING: ON
SHARED: OFF SHARED: OFF
DISABLED_TESTS: "!1139 !1501 ~1056" DISABLED_TESTS: "!1139 !1501"
ADD_PATH: "C:\\MinGW\\bin;C:\\msys64\\usr\\bin" ADD_PATH: "C:\\MinGW\\bin;C:\\msys64\\usr\\bin"
MSYS2_ARG_CONV_EXCL: "/*" MSYS2_ARG_CONV_EXCL: "/*"
BUILD_OPT: -k BUILD_OPT: -k
@ -272,21 +272,21 @@ environment:
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017" APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
BUILD_SYSTEM: autotools BUILD_SYSTEM: autotools
TESTING: ON TESTING: ON
DISABLED_TESTS: "!19 ~1056 !1233" DISABLED_TESTS: "!19 !1233"
ADD_PATH: "C:\\msys64\\usr\\bin" ADD_PATH: "C:\\msys64\\usr\\bin"
CONFIG_ARGS: "--enable-debug --enable-werror --disable-threaded-resolver --disable-proxy --without-ssl --enable-websockets" CONFIG_ARGS: "--enable-debug --enable-werror --disable-threaded-resolver --disable-proxy --without-ssl --enable-websockets"
- job_name: "autotools, msys2, Debug, no SSL" - job_name: "autotools, msys2, Debug, no SSL"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017" APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
BUILD_SYSTEM: autotools BUILD_SYSTEM: autotools
TESTING: ON TESTING: ON
DISABLED_TESTS: "!19 !504 !704 !705 ~1056 !1233" DISABLED_TESTS: "!19 !504 !704 !705 !1233"
ADD_PATH: "C:\\msys64\\usr\\bin" ADD_PATH: "C:\\msys64\\usr\\bin"
CONFIG_ARGS: "--enable-debug --enable-werror --disable-threaded-resolver --without-ssl --enable-websockets" CONFIG_ARGS: "--enable-debug --enable-werror --disable-threaded-resolver --without-ssl --enable-websockets"
- job_name: "autotools, msys2, Release, no SSL" - job_name: "autotools, msys2, Release, no SSL"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017" APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
BUILD_SYSTEM: autotools BUILD_SYSTEM: autotools
TESTING: ON TESTING: ON
DISABLED_TESTS: "!19 !504 !704 !705 ~1056 !1233" DISABLED_TESTS: "!19 !504 !704 !705 !1233"
ADD_PATH: "C:\\msys64\\usr\\bin" ADD_PATH: "C:\\msys64\\usr\\bin"
CONFIG_ARGS: "--enable-warnings --enable-werror --without-ssl --enable-websockets" CONFIG_ARGS: "--enable-warnings --enable-werror --without-ssl --enable-websockets"
# autotools-based Cygwin build # autotools-based Cygwin build
@ -294,7 +294,7 @@ environment:
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022" APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2022"
BUILD_SYSTEM: autotools BUILD_SYSTEM: autotools
TESTING: ON TESTING: ON
DISABLED_TESTS: "~1056" DISABLED_TESTS: ""
ADD_PATH: "C:\\cygwin64\\bin" ADD_PATH: "C:\\cygwin64\\bin"
CONFIG_ARGS: "--enable-debug --enable-werror --disable-threaded-resolver --without-ssl --enable-websockets" CONFIG_ARGS: "--enable-debug --enable-werror --disable-threaded-resolver --without-ssl --enable-websockets"
POSIX_PATH_PREFIX: "/cygdrive" POSIX_PATH_PREFIX: "/cygdrive"

View File

@ -42,8 +42,14 @@ body
# #
# Client-side # Client-side
<client> <client>
# 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.
<features> <features>
ipv6 ipv6
!win32
</features> </features>
<server> <server>
http http
@ -55,6 +61,9 @@ HTTP follow redirect from IPv4 to IPv6 with scope
<command> <command>
http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
</command> </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>
# #