test1454: --connect-to with IPv6 address w/o IPv6 support!

This commit is contained in:
Daniel Stenberg 2018-01-23 00:02:35 +01:00
parent eb6e3c4f6e
commit 65ceb20dfd
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 39 additions and 1 deletions

38
tests/data/test1454 Normal file
View file

@ -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>