summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-08-11 11:58:34 +0200
committerng0 <ng0@infotropique.org>2017-08-22 15:29:53 +0000
commit2e152b680d93900d39ab049e34ad56e18fa9b9ed (patch)
treeccb465aef9e0e8d57b4fca57d4343f593c905b5e
parente246805823a3578f1d85918a73f408dd8709c002 (diff)
downloadgnurl-2e152b680d93900d39ab049e34ad56e18fa9b9ed.tar.gz
gnurl-2e152b680d93900d39ab049e34ad56e18fa9b9ed.tar.bz2
gnurl-2e152b680d93900d39ab049e34ad56e18fa9b9ed.zip
test1447: verifies the parse proxy fix in 6e0e152ce5c
-rw-r--r--tests/data/Makefile.inc2
-rw-r--r--tests/data/test144735
2 files changed, 36 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc
index ca1bcc9d8..8308e3168 100644
--- a/tests/data/Makefile.inc
+++ b/tests/data/Makefile.inc
@@ -154,7 +154,7 @@ test1416 test1417 test1418 test1419 test1420 test1421 test1422 test1423 \
test1424 test1425 test1426 test1427 \
test1428 test1429 test1430 test1431 test1432 test1433 test1434 test1435 \
test1436 test1437 test1438 test1439 test1440 test1441 test1442 test1443 \
-test1444 test1445 test1446 test1450 test1451 \
+test1444 test1445 test1446 test1447 test1450 test1451 \
test1452 \
test1500 test1501 test1502 test1503 test1504 test1505 test1506 test1507 \
test1508 test1509 test1510 test1511 test1512 test1513 test1514 test1515 \
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>