test1447: verifies the parse proxy fix in 6e0e152ce5

This commit is contained in:
Daniel Stenberg 2017-08-11 11:58:34 +02:00
parent 6e0e152ce5
commit 77cd4e7693
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 36 additions and 1 deletions

35
tests/data/test1447 Normal file
View 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>