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 /tests/data/test219 | |
parent | a96319ebb934ac8d3df4b88c8eb0d7ba00d5f883 (diff) |
test219: verify unsupported scheme for proxies get rejected
Diffstat (limited to 'tests/data/test219')
-rw-r--r-- | tests/data/test219 | 34 |
1 files changed, 34 insertions, 0 deletions
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> |