1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-18 07:25:14 -05:00
curl/tests/data/test705
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
SOCKS5
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 SOCKS5 proxy
</name>
<command>
--socks5 %HOSTIP:2 http://%HOSTIP:%HTTPPORT/705
</command>
<features>
proxy
</features>
</client>
# Verify data after the test has been "shot"
<verify>
<errorcode>
7
</errorcode>
</verify>
</testcase>