summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-01-23 00:02:35 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-01-23 08:01:29 +0100
commit65ceb20dfd3c1820b6af9c418a0ac2885dd6b4f2 (patch)
treef59da83dd31be9fd4487ffaf7f2eb635b08f2cb3
parenteb6e3c4f6e312e79732311b84df20a660f18dbdd (diff)
downloadcurl-65ceb20dfd3c1820b6af9c418a0ac2885dd6b4f2.tar.gz
test1454: --connect-to with IPv6 address w/o IPv6 support!
-rw-r--r--tests/data/Makefile.inc2
-rw-r--r--tests/data/test145438
2 files changed, 39 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc
index a2cf70bcd..9635d12a1 100644
--- a/tests/data/Makefile.inc
+++ b/tests/data/Makefile.inc
@@ -161,7 +161,7 @@ test1424 test1425 test1426 test1427 \
test1428 test1429 test1430 test1431 test1432 test1433 test1434 test1435 \
test1436 test1437 test1438 test1439 test1440 test1441 test1442 test1443 \
test1444 test1445 test1446 test1447 test1448 test1449 test1450 test1451 \
-test1452 test1453 \
+test1452 test1453 test1454 \
test1500 test1501 test1502 test1503 test1504 test1505 test1506 test1507 \
test1508 test1509 test1510 test1511 test1512 test1513 test1514 test1515 \
test1516 test1517 \
diff --git a/tests/data/test1454 b/tests/data/test1454
new file mode 100644
index 000000000..36e28e49a
--- /dev/null
+++ b/tests/data/test1454
@@ -0,0 +1,38 @@
+<testcase>
+<info>
+<keywords>
+--connect-to
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<features>
+!ipv6
+</features>
+<server>
+http
+</server>
+ <name>
+--connect-to with IPv6 address w/o IPv6 support!
+ </name>
+<command>
+--connect-to localhost:80:[::1]:80 localhost
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+# 4 == CURLE_NOT_BUILT_IN
+<errorcode>
+4
+</errorcode>
+</verify>
+</testcase>