]> git.ipfire.org Git - ipfire-3.x.git/blame - curl/patches/0104-curl-7.19.7-localhost6.patch
flex: Update to 2.6.4
[ipfire-3.x.git] / curl / patches / 0104-curl-7.19.7-localhost6.patch
CommitLineData
6fa05abb
MT
1diff --git a/tests/data/test1083 b/tests/data/test1083
2index e441278..b0958b6 100644
3--- a/tests/data/test1083
4+++ b/tests/data/test1083
5@@ -33,13 +33,13 @@ ipv6
6 http-ipv6
7 </server>
8 <name>
9-HTTP-IPv6 GET with ip6-localhost --interface
10+HTTP-IPv6 GET with localhost6 --interface
11 </name>
12 <command>
13--g "http://%HOST6IP:%HTTP6PORT/1083" --interface ip6-localhost
14+-g "http://%HOST6IP:%HTTP6PORT/1083" --interface localhost6
15 </command>
16 <precheck>
17-perl -e "if ('%CLIENT6IP' ne '[::1]') {print 'Test requires default test server host address';} else {exec './server/resolve --ipv6 ip6-localhost'; print 'Cannot run precheck resolve';}"
18+perl -e "if ('%CLIENT6IP' ne '[::1]') {print 'Test requires default test server host address';} else {exec './server/resolve --ipv6 localhost6'; print 'Cannot run precheck resolve';}"
19 </precheck>
20 </client>
21
22diff --git a/tests/data/test241 b/tests/data/test241
23index 46eae1f..4e1632c 100644
24--- a/tests/data/test241
25+++ b/tests/data/test241
26@@ -30,13 +30,13 @@ ipv6
27 http-ipv6
28 </server>
29 <name>
30-HTTP-IPv6 GET (using ip6-localhost)
31+HTTP-IPv6 GET (using localhost6)
32 </name>
33 <command>
34--g "http://ip6-localhost:%HTTP6PORT/241"
35+-g "http://localhost6:%HTTP6PORT/241"
36 </command>
37 <precheck>
38-./server/resolve --ipv6 ip6-localhost
39+./server/resolve --ipv6 localhost6
40 </precheck>
41 </client>
42
43@@ -48,7 +48,7 @@ HTTP-IPv6 GET (using ip6-localhost)
44 </strip>
45 <protocol>
46 GET /241 HTTP/1.1\r
47-Host: ip6-localhost:%HTTP6PORT\r
48+Host: localhost6:%HTTP6PORT\r
49 Accept: */*\r
50 \r
51 </protocol>