mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08: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.
36 lines
432 B
Plaintext
36 lines
432 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
command-line
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<name>
|
|
Try a non-boolean command line option with --no-
|
|
</name>
|
|
<command>
|
|
--no-proxy "hey" http://%HOSTIP:%NOLISTENPORT/333
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# detected the bad --no- prefix
|
|
<errorcode>
|
|
2
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|