1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-14 05:25:06 -05:00
curl/tests/data/test704
Marcel Raad 476eb88171
tests: use proxy feature
This makes the tests succeed when using --disable-proxy.

Closes https://github.com/curl/curl/pull/4488
2019-10-15 07:56:55 +02:00

40 lines
476 B
Plaintext

<testcase>
#based off 19
<info>
<keywords>
HTTP
SOCKS4
connect to non-listen
FAILURE
</keywords>
</info>
# Server-side
<reply>
<data>
</data>
</reply>
# Client-side
<client>
<server>
http
</server>
<name>
Attempt connect to non-listening SOCKS4 proxy
</name>
<command>
--socks4 %HOSTIP:2 http://%HOSTIP:%HTTPPORT/704
</command>
<features>
proxy
</features>
</client>
# Verify data after the test has been "shot"
<verify>
<errorcode>
7
</errorcode>
</verify>
</testcase>