Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test1263
1 # similar to test 1260
2 <testcase>
3 <info>
4 <keywords>
5 HTTP
6 HTTP GET
7 </keywords>
8 </info>
9
10 # Server-side
11 <reply>
12 </reply>
13
14 # Client-side
15 <client>
16 <server>
17 none
18 </server>
19 <features>
20 http
21 </features>
22  <name>
23 HTTP URL with rubbish after IPv6 bracket
24  </name>
25  <command>
26 -g "http://[%HOSTIP]test:%HTTPPORT/we/want/1263" "http://[%HOSTIP][%HOSTIP]:%HTTPPORT/we/want/1263" "http://user@[::1]@localhost"
27 </command>
28 </client>
29
30 # Verify data after the test has been "shot"
31 <verify>
32 # CURLE_URL_MALFORMAT == 3
33 <errorcode>
34 3
35 </errorcode>
36 </verify>
37 </testcase>