mirror of
https://github.com/moparisthebest/curl
synced 2024-11-18 07:25:14 -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.
32 lines
357 B
Plaintext
32 lines
357 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
cmdline
|
|
FAILURE
|
|
</keywords>
|
|
</info>
|
|
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<name>
|
|
Pass in negative number to --max-time
|
|
</name>
|
|
<command>
|
|
http://%HOSTIP:%NOLISTENPORT/1410 --max-time -4
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
2
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|