mirror of
https://github.com/moparisthebest/curl
synced 2024-11-05 09:05:04 -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
582 B
Plaintext
49 lines
582 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FILE
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
foo
|
|
bar
|
|
bar
|
|
foo
|
|
moo
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
file
|
|
</features>
|
|
<name>
|
|
file:// with (unsupported) proxy, authentication and range
|
|
</name>
|
|
<setenv>
|
|
all_proxy=http://fake:user@%HOSTIP:%NOLISTENPORT/
|
|
</setenv>
|
|
<command option="no-include">
|
|
file://localhost%FILE_PWD/log/test288.txt
|
|
</command>
|
|
<file name="log/test288.txt">
|
|
foo
|
|
bar
|
|
bar
|
|
foo
|
|
moo
|
|
</file>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
</verify>
|
|
</testcase>
|