mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 23:15:08 -05:00
5f5a7b478a
Several tests referred to specific server ports even when the test didn't actually use that server or specify that it's needed. In such cases, the test harness substitutes the text "[not running]" as the port number which causes many such tests to fail due to the inability to parse the URL. These tests are changed to use %NOLISTENPORT which will always be substituted correctly.
49 lines
700 B
Plaintext
49 lines
700 B
Plaintext
<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/1085" --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>
|