mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00

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.
40 lines
441 B
Plaintext
40 lines
441 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FAILURE
|
|
</keywords>
|
|
</info>
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
http
|
|
</features>
|
|
<name>
|
|
HTTP, -O with no slash at all in the URL
|
|
</name>
|
|
<command option="no-output">
|
|
%HOSTIP:%NOLISTENPORT -O
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<strip>
|
|
^User-Agent:.*
|
|
</strip>
|
|
<errorcode>
|
|
23
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|