mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:33:33 +03:00
test1447: verifies the parse proxy fix in 6e0e152ce5
This commit is contained in:
parent
6e0e152ce5
commit
77cd4e7693
2 changed files with 36 additions and 1 deletions
35
tests/data/test1447
Normal file
35
tests/data/test1447
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP proxy
|
||||
FAILURE
|
||||
</keywords>
|
||||
</info>
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
none
|
||||
</server>
|
||||
<name>
|
||||
Provide illegal proxy name
|
||||
</name>
|
||||
<command>
|
||||
--proxy "http://a:b@/x" http://%HOSTIP:%HTTPPORT
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
# Couldn't resolve proxy name
|
||||
<errorcode>
|
||||
5
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue