mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
test219: verify unsupported scheme for proxies get rejected
This commit is contained in:
parent
a96319ebb9
commit
f1cdcc4c3e
@ -44,7 +44,7 @@ test181 test182 test183 test184 test185 test186 test187 test188 test189 \
|
||||
test190 test191 test192 test193 test194 test195 test196 test197 test198 \
|
||||
test199 test200 test201 test202 test203 test204 test205 test206 test207 \
|
||||
test208 test209 test210 test211 test212 test213 test214 test215 test216 \
|
||||
test217 test218 test220 test221 test222 test223 test224 test225 \
|
||||
test217 test218 test219 test220 test221 test222 test223 test224 test225 \
|
||||
test226 test227 test228 test229 test231 test233 test234 \
|
||||
test235 test236 test237 test238 test239 test240 test241 test242 test243 \
|
||||
test245 test246 test247 test248 test249 test250 test251 test252 \
|
||||
|
34
tests/data/test219
Normal file
34
tests/data/test219
Normal file
@ -0,0 +1,34 @@
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
proxy
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
none
|
||||
</server>
|
||||
<name>
|
||||
try using proxy with unsupported scheme
|
||||
</name>
|
||||
<command>
|
||||
-x foo://%HOSTIP:%HTTPPORT/219 http://%HOSTIP:%HTTPPORT/219
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
7
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
Loading…
Reference in New Issue
Block a user