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 01:30:50 +0100
commit1ca6c3cd2022ba51fa3d08d2499fe0ec4cabb4be (patch)
treef59da83dd31be9fd4487ffaf7f2eb635b08f2cb3
parent7d01e9e3e8746103a4dd58d13baa5f0e67a9209d (diff)
downloadcurl-1ca6c3cd2022ba51fa3d08d2499fe0ec4cabb4be.tar.gz
test1454: --connect-to with IPv6 address w/o IPv6 support!bagder/CONNECT_TO-without-ipv6
-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>