From 66c1f8e0b388b7ad059abd9c7d5868ba7ad60834 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 28 Nov 2014 19:10:05 +0000 Subject: Testsuite: avoid ipv6 when testing retry data Some test hosts cannot do ipv6. We assume that ipv4 is available. --- test/confs/0099 | 3 ++- test/log/0099 | 10 +++++----- test/msglog/0099.10HmaY-0005vi-00 | 4 ++-- test/stdout/0099 | 14 +++++++------- 4 files changed, 16 insertions(+), 15 deletions(-) diff --git a/test/confs/0099 b/test/confs/0099 index 3f72adb69..4a13b4937 100644 --- a/test/confs/0099 +++ b/test/confs/0099 @@ -15,6 +15,7 @@ gecos_name = CALLER_NAME primary_hostname = primary.test.ex qualify_domain = test.ex retry_data_expire = 2s +log_selector = +received_recipients # ----- Routers ----- @@ -24,7 +25,7 @@ begin routers all: driver = manualroute route_list = simple thishost.test.ex byname \ - ; complex localhost.test.ex byname \ + ; complex thisloop.test.ex byname \ ; * 127.0.0.1 byname self = send transport = smtp diff --git a/test/log/0099 b/test/log/0099 index 40bfaa402..b9bf7cbda 100644 --- a/test/log/0099 +++ b/test/log/0099 @@ -1,4 +1,4 @@ -1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss for userx@simple 1999-03-02 09:44:33 10HmaX-0005vi-00 H=thishost.test.ex [127.0.0.1] Connection refused 1999-03-02 09:44:33 10HmaX-0005vi-00 == userx@simple R=all T=smtp defer (dd): Connection refused 1999-03-02 09:44:33 Start queue run: pid=pppp @@ -8,10 +8,10 @@ 1999-03-02 09:44:33 10HmaX-0005vi-00 H=thishost.test.ex [127.0.0.1] Connection refused 1999-03-02 09:44:33 10HmaX-0005vi-00 == userx@simple R=all T=smtp defer (dd): Connection refused 1999-03-02 09:44:33 End queue run: pid=pppp -1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss -1999-03-02 09:44:33 10HmaY-0005vi-00 H=localhost.test.ex [::1] Connection refused -1999-03-02 09:44:33 10HmaY-0005vi-00 H=localhost.test.ex [127.0.0.1] Connection refused +1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss for usery@complex +1999-03-02 09:44:33 10HmaY-0005vi-00 H=thisloop.test.ex [ip4.ip4.ip4.ip4] Connection refused +1999-03-02 09:44:33 10HmaY-0005vi-00 H=thisloop.test.ex [127.0.0.1] Connection refused 1999-03-02 09:44:33 10HmaY-0005vi-00 == usery@complex R=all T=smtp defer (dd): Connection refused -1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss for userz@simple 1999-03-02 09:44:33 10HmaZ-0005vi-00 H=thishost.test.ex [127.0.0.1] Connection refused 1999-03-02 09:44:33 10HmaZ-0005vi-00 == userz@simple R=all T=smtp defer (dd): Connection refused diff --git a/test/msglog/0099.10HmaY-0005vi-00 b/test/msglog/0099.10HmaY-0005vi-00 index 3478d48b2..771300c46 100644 --- a/test/msglog/0099.10HmaY-0005vi-00 +++ b/test/msglog/0099.10HmaY-0005vi-00 @@ -1,4 +1,4 @@ 1999-03-02 09:44:33 Received from CALLER@test.ex U=CALLER P=local S=sss -1999-03-02 09:44:33 H=localhost.test.ex [::1] Connection refused -1999-03-02 09:44:33 H=localhost.test.ex [127.0.0.1] Connection refused +1999-03-02 09:44:33 H=thisloop.test.ex [ip4.ip4.ip4.ip4] Connection refused +1999-03-02 09:44:33 H=thisloop.test.ex [127.0.0.1] Connection refused 1999-03-02 09:44:33 usery@complex R=all T=smtp defer (dd): Connection refused diff --git a/test/stdout/0099 b/test/stdout/0099 index a1b59f986..e473c2b97 100644 --- a/test/stdout/0099 +++ b/test/stdout/0099 @@ -5,20 +5,20 @@ first failed = time last try = time2 next try = time2 + 900 T:thishost.test.ex:127.0.0.1:999 dd 65 Connection refused first failed = time last try = time2 next try = time2 + 900 +++++++++++++++++++++++++++ - T:localhost.test.ex:127.0.0.1:999 dd 65 Connection refused -first failed = time last try = time2 next try = time2 + 900 - T:localhost.test.ex:::1:999 dd 65 Connection refused -first failed = time last try = time2 next try = time2 + 900 T:thishost.test.ex:127.0.0.1:999 dd 65 Connection refused first failed = time last try = time2 next try = time2 + 900 -+++++++++++++++++++++++++++ - T:localhost.test.ex:127.0.0.1:999 dd 65 Connection refused + T:thisloop.test.ex:127.0.0.1:999 dd 65 Connection refused first failed = time last try = time2 next try = time2 + 900 - T:localhost.test.ex:::1:999 dd 65 Connection refused + T:thisloop.test.ex:ip4.ip4.ip4.ip4:999 dd 65 Connection refused first failed = time last try = time2 next try = time2 + 900 ++++++++++++++++++++++++++++ T:thishost.test.ex:127.0.0.1:999 dd 65 Connection refused first failed = time last try = time2 next try = time2 + 900 T:thishost.test.ex:999 dd 65 Connection refused +first failed = time last try = time2 next try = time2 + 900 + T:thisloop.test.ex:127.0.0.1:999 dd 65 Connection refused +first failed = time last try = time2 next try = time2 + 900 + T:thisloop.test.ex:ip4.ip4.ip4.ip4:999 dd 65 Connection refused first failed = time last try = time2 next try = time2 + 900 Retry rule: *.star.ex * F,3d,10m; Retry rule: lsearch*@;TESTSUITE/aux-fixed/0099.rlist * F,1d,3m; -- cgit v1.2.3