curl-curl/tests/data/test2086
Viktor Szakats 0e8bf75b5c
tests: require IPv6 for 1265, 1324, 2086
And also require HTTP. Also add `IPv6` to the keywords.

Fixing:

Linux AM openssl !ipv6 !--libcurl:
```
FAIL 1265: 'NO_PROXY with IPv6 numerical address' HTTP, HTTP proxy, http_proxy, NO_PROXY, noproxy
FAIL 1324: 'HTTP with --resolve and [ipv6address]' HTTP, HTTP GET, --resolve
FAIL 2086: 'Pre-request callback for HTTP IPv6' HTTP, IPv6
```
Ref: https://github.com/curl/curl/actions/runs/14378524385/job/40318328714?pr=17012#step:41:3789

Follow-up to a09e49168a #17005

Closes #17014
2025-04-10 16:24:52 +02:00

61 lines
840 B
Plaintext

<testcase>
<info>
<keywords>
HTTP
IPv6
</keywords>
</info>
# Server-side
<reply>
<data nocheck="yes">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Content-Length: 0
</data>
</reply>
# Client-side
<client>
<features>
http
IPv6
</features>
<server>
http-ipv6
</server>
<name>
Pre-request callback for HTTP IPv6
</name>
<tool>
libprereq
</tool>
<command>
%HOST6IP:%HTTP6PORT/%TESTNUMBER#ipv6
</command>
<setenv>
# Needed for MSYS2 to not treat the URL as a path list
MSYS2_ARG_CONV_EXCL=*
</setenv>
</client>
# Verify data after the test has been "shot"
<verify>
<stripfile>
s/^Local port = \d+/Local port = stripped/
</stripfile>
<stdout>
Connected to %HOST6IP
Connected from %CLIENT6IP
Remote port = %HTTP6PORT
Local port = stripped
Returning = 0
</stdout>
</verify>
</testcase>