From 70734612c0f2f6f864e771ab4d2509c903342739 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 14 Oct 2020 09:41:28 +0200 Subject: [PATCH] use localhost6 instead of ip6-localhost in the curl test-suite --- tests/data/test1083 | 6 +++--- tests/data/test241 | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/data/test1083 b/tests/data/test1083 index e441278..b0958b6 100644 --- a/tests/data/test1083 +++ b/tests/data/test1083 @@ -33,13 +33,13 @@ ipv6 http-ipv6 -HTTP-IPv6 GET with ip6-localhost --interface +HTTP-IPv6 GET with localhost6 --interface --g "http://%HOST6IP:%HTTP6PORT/1083" --interface ip6-localhost +-g "http://%HOST6IP:%HTTP6PORT/1083" --interface localhost6 -perl -e "if ('%CLIENT6IP' ne '[::1]') {print 'Test requires default test client host address';} else {exec './server/resolve --ipv6 ip6-localhost'; print 'Cannot run precheck resolve';}" +perl -e "if ('%CLIENT6IP' ne '[::1]') {print 'Test requires default test client host address';} else {exec './server/resolve --ipv6 localhost6'; print 'Cannot run precheck resolve';}" diff --git a/tests/data/test241 b/tests/data/test241 index 46eae1f..4e1632c 100644 --- a/tests/data/test241 +++ b/tests/data/test241 @@ -30,13 +30,13 @@ ipv6 http-ipv6 -HTTP-IPv6 GET (using ip6-localhost) +HTTP-IPv6 GET (using localhost6) --g "http://ip6-localhost:%HTTP6PORT/241" +-g "http://localhost6:%HTTP6PORT/241" -./server/resolve --ipv6 ip6-localhost +./server/resolve --ipv6 localhost6 @@ -45,7 +45,7 @@ HTTP-IPv6 GET (using ip6-localhost) GET /241 HTTP/1.1 -Host: ip6-localhost:%HTTP6PORT +Host: localhost6:%HTTP6PORT User-Agent: curl/%VERSION Accept: */* -- 2.25.4