1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-18 07:25:14 -05:00
curl/tests/data/test504
Marcel Raad 2e4405d29c
tests: add connect to non-listen keywords
These tests try to connect to ports nothing is listening on.

Closes https://github.com/curl/curl/pull/4511
2019-10-21 10:19:22 +02:00

47 lines
572 B
Plaintext

<testcase>
<info>
<keywords>
HTTP
HTTP GET
HTTP proxy
multi
FAILURE
connect to non-listen
</keywords>
</info>
# Server-side
<reply>
</reply>
# Client-side
<client>
<server>
none
</server>
<features>
http
proxy
</features>
# tool is what to use instead of 'curl'
<tool>
lib504
</tool>
<name>
simple multi through local proxy without listener
</name>
<command>
http://%HOSTIP:%HTTPSPORT/504 %HOSTIP:55555
</command>
</client>
# Verify data after the test has been "shot"
# TEST_ERR_SUCCESS is errorcode 120
<verify>
<errorcode>
120
</errorcode>
</verify>
</testcase>