X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=blobdiff_plain;f=test%2Fscripts%2F1000-Basic-ipv6%2F1003;h=849d69a109b984304f320711e1a53ac596312037;hp=646b1b4a3b320653032bbc493bca32c809e623ec;hb=924bff6ea9f7afaa9678194852135636f19f98fd;hpb=59371ea735c941334861aa5b8e1e9a06facf044f diff --git a/test/scripts/1000-Basic-ipv6/1003 b/test/scripts/1000-Basic-ipv6/1003 index 646b1b4a3..849d69a10 100644 --- a/test/scripts/1000-Basic-ipv6/1003 +++ b/test/scripts/1000-Basic-ipv6/1003 @@ -4,24 +4,34 @@ need_ipv6 # exim -DSERVER=server -bd -oX PORT_D **** -exim userx@test.ex -hosts: 127.0.0.1 +exim user4@h1.test.ex + +1 interface: <; ::1 ; HOSTIPV4 **** -exim userx@test.ex -hosts: <; ::1 +# +# This tries to send to ::1 from HOSTIPV6 - which is ok until HOSTIPV6 +# is a link-local addr (with a scope-id specifying the link). Then, +# it seems, ::1 is not on that link (for Linux, at least). The connect +# times out and the testcase fails. +exim user6@h2.test.ex + +2 interface: <; HOSTIPV6 ; HOSTIPV4 **** -exim userx@test.ex -hosts: <; ::1 +exim user6@h3.test.ex + +3 interface: <; ${if eq{0}{1}{HOSTIPV6}fail} **** -exim userx@test.ex -hosts: <; ::1 +exim user6@h4.test.ex + +4 interface: <; ${if eq{0}{1}{HOSTIPV6}{ }} **** -exim userx@test.ex -hosts: <; ::1 +exim user6@h5.test.ex + +5 interface: <; ${if **** exim -qf