diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-08-15 11:09:59 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-08-15 11:11:04 +0200 |
commit | f1cdcc4c3eb5b1e5f66520c5e91ecb95faa85bff (patch) | |
tree | 8b5419d5497d9a3b6daddc2c1d2bab632646197a | |
parent | a96319ebb934ac8d3df4b88c8eb0d7ba00d5f883 (diff) |
test219: verify unsupported scheme for proxies get rejected
-rw-r--r-- | tests/data/Makefile.inc | 2 | ||||
-rw-r--r-- | tests/data/test219 | 34 |
2 files changed, 35 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index 9c50673ca..27f52a6a9 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -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 \ diff --git a/tests/data/test219 b/tests/data/test219 new file mode 100644 index 000000000..49c1a380e --- /dev/null +++ b/tests/data/test219 @@ -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> |