aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1447
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-08-11 11:58:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-11 11:58:34 +0200
commit77cd4e769302f7230373ffb0e45a568070af05c7 (patch)
tree4b07f1e71da6a19efb3820737c101ae77a9a7798 /tests/data/test1447
parent6e0e152ce5cfe2b7b024726d48a011f81826ebde (diff)
test1447: verifies the parse proxy fix in 6e0e152ce5c
Diffstat (limited to 'tests/data/test1447')
-rw-r--r--tests/data/test144735
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/data/test1447 b/tests/data/test1447
new file mode 100644
index 000000000..d79ab27d9
--- /dev/null
+++ b/tests/data/test1447
@@ -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>