mirror of
https://github.com/curl/curl.git
synced 2026-04-15 13:51:41 +03:00
The threee tags `<name>`, `</name>` and `<command>` were frequently used with a leading space that this removes. The reason this habbit is so widespread in testcases is probably that they have been copy and pasted. Hence, fixing them all now might curb this practice from now on. Closes #12028
48 lines
704 B
Text
48 lines
704 B
Text
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
HTTP GET
|
|
--interface
|
|
IPv6
|
|
FAILURE
|
|
non-existing host
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<features>
|
|
http
|
|
ipv6
|
|
</features>
|
|
<server>
|
|
none
|
|
</server>
|
|
<name>
|
|
HTTP-IPv6 GET with invalid --interface
|
|
</name>
|
|
<command>
|
|
-g "http://%HOST6IP:%NOLISTENPORT/%TESTNUMBER" --interface non-existing-host.haxx.se.
|
|
</command>
|
|
# Ensure the IPv6 stack is operational before running this test (other tests
|
|
# use the startup of the IPv6 test server as a substitute check for this).
|
|
<precheck>
|
|
./server/resolve --ipv6 ::1
|
|
</precheck>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
45
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|