From 6fc54bd18aa7a51e11dce5a905e754cedb526230 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 29 Dec 2022 00:50:50 +0000 Subject: Debug: list searching --- test/stderr/0278 | 186 ++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 165 insertions(+), 21 deletions(-) (limited to 'test/stderr/0278') diff --git a/test/stderr/0278 b/test/stderr/0278 index 7c2a7fe9a..8c1c98d24 100644 --- a/test/stderr/0278 +++ b/test/stderr/0278 @@ -1,6 +1,22 @@ Exim version x.yz .... changed uid/gid: forcing real = effective uid=uuuu gid=CALLER_GID pid=p1234 +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH configuration file is TESTSUITE/test-config admin user dropping to exim gid; retaining priv uid @@ -18,20 +34,42 @@ routing CALLER@test.ex --------> r1 router <-------- local_part=CALLER domain=test.ex checking local_parts -CALLER in "never"? no (end of list) -CALLER in "never1"? no (end of list) -CALLER in "CALLER"? yes (matched "CALLER") +list element: +never_localparts + start sublist never_localparts + list element: never + CALLER in "never"? no (end of list) + end sublist never_localparts +list element: +n1_localparts + start sublist n1_localparts + list element: never1 + CALLER in "never1"? no (end of list) + end sublist n1_localparts +list element: ! +local_localparts + start sublist local_localparts + list element: CALLER + CALLER in "CALLER"? yes (matched "CALLER") + end sublist local_localparts data from lookup saved for cache for +local_localparts: key 'CALLER' value 'CALLER' CALLER in "+never_localparts : +n1_localparts : ! +local_localparts"? no (matched "! +local_localparts") r1 router skipped: local_parts mismatch --------> r2 router <-------- local_part=CALLER domain=test.ex checking local_parts +list element: +never_localparts + start sublist never_localparts cached no match for +never_localparts cached lookup data = NULL -cached no match for +n1_localparts -cached lookup data = NULL -CALLER in "<; never2 ; +n1_localparts"? no (end of list) +list element: +n2_localparts + start sublist n2_localparts + list element: never2 + list element: +n1_localparts + start sublist n1_localparts + cached no match for +n1_localparts + cached lookup data = NULL + CALLER in "<; never2 ; +n1_localparts"? no (end of list) + end sublist n2_localparts +list element: !+local_localparts + start sublist local_localparts cached yes match for +local_localparts cached lookup data = CALLER CALLER in "+never_localparts : +n2_localparts : !+local_localparts"? no (matched "!+local_localparts" - cached) @@ -39,6 +77,8 @@ r2 router skipped: local_parts mismatch --------> r3 router <-------- local_part=CALLER domain=test.ex checking local_parts +list element: +local_localparts + start sublist local_localparts cached yes match for +local_localparts cached lookup data = CALLER CALLER in "+local_localparts"? yes (matched "+local_localparts" - cached) @@ -61,6 +101,22 @@ search_tidyup called Exim version x.yz .... changed uid/gid: forcing real = effective uid=uuuu gid=CALLER_GID pid=p1235 +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH configuration file is TESTSUITE/test-config admin user changed uid/gid: privilege not needed @@ -109,6 +165,10 @@ exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test Exim version x.yz .... changed uid/gid: forcing real = effective uid=uuuu gid=EXIM_GID pid=p1236 +list element: PATH +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH configuration file is TESTSUITE/test-config trusted user admin user @@ -147,20 +207,42 @@ routing CALLER@test.ex --------> r1 router <-------- local_part=CALLER domain=test.ex checking local_parts -CALLER in "never"? no (end of list) -CALLER in "never1"? no (end of list) -CALLER in "CALLER"? yes (matched "CALLER") +list element: +never_localparts + start sublist never_localparts + list element: never + CALLER in "never"? no (end of list) + end sublist never_localparts +list element: +n1_localparts + start sublist n1_localparts + list element: never1 + CALLER in "never1"? no (end of list) + end sublist n1_localparts +list element: ! +local_localparts + start sublist local_localparts + list element: CALLER + CALLER in "CALLER"? yes (matched "CALLER") + end sublist local_localparts data from lookup saved for cache for +local_localparts: key 'CALLER' value 'CALLER' CALLER in "+never_localparts : +n1_localparts : ! +local_localparts"? no (matched "! +local_localparts") r1 router skipped: local_parts mismatch --------> r2 router <-------- local_part=CALLER domain=test.ex checking local_parts +list element: +never_localparts + start sublist never_localparts cached no match for +never_localparts cached lookup data = NULL -cached no match for +n1_localparts -cached lookup data = NULL -CALLER in "<; never2 ; +n1_localparts"? no (end of list) +list element: +n2_localparts + start sublist n2_localparts + list element: never2 + list element: +n1_localparts + start sublist n1_localparts + cached no match for +n1_localparts + cached lookup data = NULL + CALLER in "<; never2 ; +n1_localparts"? no (end of list) + end sublist n2_localparts +list element: !+local_localparts + start sublist local_localparts cached yes match for +local_localparts cached lookup data = CALLER CALLER in "+never_localparts : +n2_localparts : !+local_localparts"? no (matched "!+local_localparts" - cached) @@ -168,6 +250,8 @@ r2 router skipped: local_parts mismatch --------> r3 router <-------- local_part=CALLER domain=test.ex checking local_parts +list element: +local_localparts + start sublist local_localparts cached yes match for +local_localparts cached lookup data = CALLER CALLER in "+local_localparts"? yes (matched "+local_localparts" - cached) @@ -249,6 +333,22 @@ search_tidyup called Exim version x.yz .... changed uid/gid: forcing real = effective uid=uuuu gid=CALLER_GID pid=p1238 +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH +list element: PATH +list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK +list element: PATH configuration file is TESTSUITE/test-config admin user dropping to exim gid; retaining priv uid @@ -266,30 +366,54 @@ routing unknown@test.ex --------> r1 router <-------- local_part=unknown domain=test.ex checking local_parts -unknown in "never"? no (end of list) -unknown in "never1"? no (end of list) -unknown in "CALLER"? no (end of list) +list element: +never_localparts + start sublist never_localparts + list element: never + unknown in "never"? no (end of list) + end sublist never_localparts +list element: +n1_localparts + start sublist n1_localparts + list element: never1 + unknown in "never1"? no (end of list) + end sublist n1_localparts +list element: ! +local_localparts + start sublist local_localparts + list element: CALLER + unknown in "CALLER"? no (end of list) + end sublist local_localparts unknown in "+never_localparts : +n1_localparts : ! +local_localparts"? yes (end of list) calling r1 router r1 router called for unknown@test.ex domain = test.ex route_item = never +list element: never test.ex in "never"? no (end of list) r1 router declined for unknown@test.ex --------> r2 router <-------- local_part=unknown domain=test.ex checking local_parts +list element: +never_localparts + start sublist never_localparts cached no match for +never_localparts cached lookup data = NULL -cached no match for +n1_localparts -cached lookup data = NULL -unknown in "<; never2 ; +n1_localparts"? no (end of list) +list element: +n2_localparts + start sublist n2_localparts + list element: never2 + list element: +n1_localparts + start sublist n1_localparts + cached no match for +n1_localparts + cached lookup data = NULL + unknown in "<; never2 ; +n1_localparts"? no (end of list) + end sublist n2_localparts +list element: !+local_localparts + start sublist local_localparts cached no match for +local_localparts cached lookup data = NULL unknown in "+never_localparts : +n2_localparts : !+local_localparts"? yes (end of list) calling r2 router r2 router called for unknown@test.ex domain = test.ex +list element: * test.ex in "*"? yes (matched "*") DNS lookup of test.ex (MX) using fakens DNS lookup of test.ex (MX) gave NO_DATA @@ -306,6 +430,8 @@ r2 router declined for unknown@test.ex --------> r3 router <-------- local_part=unknown domain=test.ex checking local_parts +list element: +local_localparts + start sublist local_localparts cached no match for +local_localparts cached lookup data = NULL unknown in "+local_localparts"? no (end of list) @@ -313,18 +439,36 @@ r3 router skipped: local_parts mismatch --------> r4 router <-------- local_part=unknown domain=test.ex checking local_parts +list element: +local_localparts + start sublist local_localparts cached no match for +local_localparts cached lookup data = NULL -unknown in "test.ex"? no (end of list) -unknown in "unexpanded"? no (end of list) +list element: +expanded + start sublist expanded + list element: test.ex + unknown in "test.ex"? no (end of list) + end sublist expanded +list element: +unexpanded + start sublist unexpanded + list element: unexpanded + unknown in "unexpanded"? no (end of list) + end sublist unexpanded unknown in "+local_localparts : +expanded : +unexpanded"? no (end of list) r4 router skipped: local_parts mismatch --------> r5 router <-------- local_part=unknown domain=test.ex checking local_parts +list element: +local_localparts + start sublist local_localparts cached no match for +local_localparts cached lookup data = NULL -unknown in "test.ex"? no (end of list) +list element: +expanded + start sublist expanded + list element: test.ex + unknown in "test.ex"? no (end of list) + end sublist expanded +list element: +unexpanded + start sublist unexpanded cached no match for +unexpanded cached lookup data = NULL unknown in "+local_localparts : +expanded : +unexpanded"? no (end of list) -- cgit v1.2.3