]> granicus.if.org Git - curl/commitdiff
test1454: --connect-to with IPv6 address w/o IPv6 support!
authorDaniel Stenberg <daniel@haxx.se>
Mon, 22 Jan 2018 23:02:35 +0000 (00:02 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 23 Jan 2018 07:01:29 +0000 (08:01 +0100)
tests/data/Makefile.inc
tests/data/test1454 [new file with mode: 0644]

index a2cf70bcdec5e99a49f4f8a39d346c1906352286..9635d12a1f9649c29a92aa6d37e625727d10422c 100644 (file)
@@ -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 (file)
index 0000000..36e28e4
--- /dev/null
@@ -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>