X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/799253d6a75db70c631716a190736c285a97155c..e1eccd45658e98553dd17fe494176e363aac295a:/test/stderr/0002 diff --git a/test/stderr/0002 b/test/stderr/0002 index 2b8eed427..a2c0cc657 100644 --- a/test/stderr/0002 +++ b/test/stderr/0002 @@ -25,19 +25,20 @@ try option unknown_login ╭considering: match:░░${if░match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail} ├───────text: match:░░ ├considering: ${if░match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail} - ╭considering: abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail} - ├───────text: abcd - ├considering: }{\N^([ab]+)(\w+)$\N}{$2$1}fail} - ├───expanded: abcd - ╰─────result: abcd - ╭considering: \N^([ab]+)(\w+)$\N}{$2$1}fail} - ├──protected: ^([ab]+)(\w+)$ - ├considering: }{$2$1}fail} - ├───expanded: \N^([ab]+)(\w+)$\N - ╰─────result: ^([ab]+)(\w+)$ - compiled RE '^([ab]+)(\w+)$' not found in local cache - compiling RE '^([ab]+)(\w+)$' - compiled RE '^([ab]+)(\w+)$' saved in local cache + cond: match + ╭considering: abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail} + ├───────text: abcd + ├considering: }{\N^([ab]+)(\w+)$\N}{$2$1}fail} + ├───expanded: abcd + ╰─────result: abcd + ╭considering: \N^([ab]+)(\w+)$\N}{$2$1}fail} + ├──protected: ^([ab]+)(\w+)$ + ├considering: }{$2$1}fail} + ├───expanded: \N^([ab]+)(\w+)$\N + ╰─────result: ^([ab]+)(\w+)$ + compiled RE '^([ab]+)(\w+)$' not found in local cache + compiling RE '^([ab]+)(\w+)$' + compiled RE '^([ab]+)(\w+)$' saved in local cache ├──condition: match{abcd}{\N^([ab]+)(\w+)$\N} ├─────result: true ╭considering: $2$1}fail} @@ -53,17 +54,18 @@ try option unknown_login ╭considering: match:░░${if░match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail} ├───────text: match:░░ ├considering: ${if░match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail} - ╭considering: wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail} - ├───────text: wxyz - ├considering: }{\N^([ab]+)(\w+)$\N}{$2$1}fail} - ├───expanded: wxyz - ╰─────result: wxyz - ╭considering: \N^([ab]+)(\w+)$\N}{$2$1}fail} - ├──protected: ^([ab]+)(\w+)$ - ├considering: }{$2$1}fail} - ├───expanded: \N^([ab]+)(\w+)$\N - ╰─────result: ^([ab]+)(\w+)$ - compiled RE '^([ab]+)(\w+)$' found in local cache + cond: match + ╭considering: wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail} + ├───────text: wxyz + ├considering: }{\N^([ab]+)(\w+)$\N}{$2$1}fail} + ├───expanded: wxyz + ╰─────result: wxyz + ╭considering: \N^([ab]+)(\w+)$\N}{$2$1}fail} + ├──protected: ^([ab]+)(\w+)$ + ├considering: }{$2$1}fail} + ├───expanded: \N^([ab]+)(\w+)$\N + ╰─────result: ^([ab]+)(\w+)$ + compiled RE '^([ab]+)(\w+)$' found in local cache ├──condition: match{wxyz}{\N^([ab]+)(\w+)$\N} ├─────result: false ╭───scanning: $2$1}fail} @@ -76,16 +78,17 @@ try option unknown_login ├───error message: "if" failed and "fail" requested ╰failure was forced ╭considering: ${if░eq░{1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} - ╭considering: 1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} - ├───────text: 1 - ├considering: }{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} - ├───expanded: 1 - ╰─────result: 1 - ╭considering: 1}{yes}{${lookup{xx}lsearch{/non/exist}}}} - ├───────text: 1 - ├considering: }{yes}{${lookup{xx}lsearch{/non/exist}}}} - ├───expanded: 1 - ╰─────result: 1 + cond: eq + ╭considering: 1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} + ├───────text: 1 + ├considering: }{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} + ├───expanded: 1 + ╰─────result: 1 + ╭considering: 1}{yes}{${lookup{xx}lsearch{/non/exist}}}} + ├───────text: 1 + ├considering: }{yes}{${lookup{xx}lsearch{/non/exist}}}} + ├───expanded: 1 + ╰─────result: 1 ├──condition: eq░{1}{1} ├─────result: true ╭considering: yes}{${lookup{xx}lsearch{/non/exist}}}} @@ -115,19 +118,20 @@ try option unknown_login ╭considering: match_address:░░░${if░match_address{a.b.c}{a.b.c}{yes}{no}} ├───────text: match_address:░░░ ├considering: ${if░match_address{a.b.c}{a.b.c}{yes}{no}} - ╭considering: a.b.c}{a.b.c}{yes}{no}} - ├───────text: a.b.c - ├considering: }{a.b.c}{yes}{no}} - ├───expanded: a.b.c - ╰─────result: a.b.c - ╭considering: a.b.c}{yes}{no}} - ├───────text: a.b.c - ├considering: }{yes}{no}} - ├───expanded: a.b.c - ╰─────result: a.b.c + cond: match_address + ╭considering: a.b.c}{a.b.c}{yes}{no}} + ├───────text: a.b.c + ├considering: }{a.b.c}{yes}{no}} + ├───expanded: a.b.c + ╰─────result: a.b.c + ╭considering: a.b.c}{yes}{no}} + ├───────text: a.b.c + ├considering: }{yes}{no}} + ├───expanded: a.b.c + ╰─────result: a.b.c LOG: MAIN PANIC no @ found in the subject of an address list match: subject="a.b.c" pattern="a.b.c" - a.b.c in "a.b.c"? no (end of list) + a.b.c in "a.b.c"? no (end of list) ├──condition: match_address{a.b.c}{a.b.c} ├─────result: false ╭───scanning: yes}{no}} @@ -179,19 +183,20 @@ try option unknown_login /considering: match: ${if match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail} |-------text: match: |considering: ${if match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail} - /considering: abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail} - |-------text: abcd - |considering: }{\N^([ab]+)(\w+)$\N}{$2$1}fail} - |---expanded: abcd - \_____result: abcd - /considering: \N^([ab]+)(\w+)$\N}{$2$1}fail} - |--protected: ^([ab]+)(\w+)$ - |considering: }{$2$1}fail} - |---expanded: \N^([ab]+)(\w+)$\N - \_____result: ^([ab]+)(\w+)$ - compiled RE '^([ab]+)(\w+)$' not found in local cache - compiling RE '^([ab]+)(\w+)$' - compiled RE '^([ab]+)(\w+)$' saved in local cache + cond: match + /considering: abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail} + |-------text: abcd + |considering: }{\N^([ab]+)(\w+)$\N}{$2$1}fail} + |---expanded: abcd + \_____result: abcd + /considering: \N^([ab]+)(\w+)$\N}{$2$1}fail} + |--protected: ^([ab]+)(\w+)$ + |considering: }{$2$1}fail} + |---expanded: \N^([ab]+)(\w+)$\N + \_____result: ^([ab]+)(\w+)$ + compiled RE '^([ab]+)(\w+)$' not found in local cache + compiling RE '^([ab]+)(\w+)$' + compiled RE '^([ab]+)(\w+)$' saved in local cache |--condition: match{abcd}{\N^([ab]+)(\w+)$\N} |-----result: true /considering: $2$1}fail} @@ -207,17 +212,18 @@ try option unknown_login /considering: match: ${if match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail} |-------text: match: |considering: ${if match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail} - /considering: wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail} - |-------text: wxyz - |considering: }{\N^([ab]+)(\w+)$\N}{$2$1}fail} - |---expanded: wxyz - \_____result: wxyz - /considering: \N^([ab]+)(\w+)$\N}{$2$1}fail} - |--protected: ^([ab]+)(\w+)$ - |considering: }{$2$1}fail} - |---expanded: \N^([ab]+)(\w+)$\N - \_____result: ^([ab]+)(\w+)$ - compiled RE '^([ab]+)(\w+)$' found in local cache + cond: match + /considering: wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail} + |-------text: wxyz + |considering: }{\N^([ab]+)(\w+)$\N}{$2$1}fail} + |---expanded: wxyz + \_____result: wxyz + /considering: \N^([ab]+)(\w+)$\N}{$2$1}fail} + |--protected: ^([ab]+)(\w+)$ + |considering: }{$2$1}fail} + |---expanded: \N^([ab]+)(\w+)$\N + \_____result: ^([ab]+)(\w+)$ + compiled RE '^([ab]+)(\w+)$' found in local cache |--condition: match{wxyz}{\N^([ab]+)(\w+)$\N} |-----result: false /---scanning: $2$1}fail} @@ -230,16 +236,17 @@ try option unknown_login |---error message: "if" failed and "fail" requested \failure was forced /considering: ${if eq {1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} - /considering: 1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} - |-------text: 1 - |considering: }{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} - |---expanded: 1 - \_____result: 1 - /considering: 1}{yes}{${lookup{xx}lsearch{/non/exist}}}} - |-------text: 1 - |considering: }{yes}{${lookup{xx}lsearch{/non/exist}}}} - |---expanded: 1 - \_____result: 1 + cond: eq + /considering: 1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} + |-------text: 1 + |considering: }{1}{yes}{${lookup{xx}lsearch{/non/exist}}}} + |---expanded: 1 + \_____result: 1 + /considering: 1}{yes}{${lookup{xx}lsearch{/non/exist}}}} + |-------text: 1 + |considering: }{yes}{${lookup{xx}lsearch{/non/exist}}}} + |---expanded: 1 + \_____result: 1 |--condition: eq {1}{1} |-----result: true /considering: yes}{${lookup{xx}lsearch{/non/exist}}}} @@ -269,19 +276,20 @@ try option unknown_login /considering: match_address: ${if match_address{a.b.c}{a.b.c}{yes}{no}} |-------text: match_address: |considering: ${if match_address{a.b.c}{a.b.c}{yes}{no}} - /considering: a.b.c}{a.b.c}{yes}{no}} - |-------text: a.b.c - |considering: }{a.b.c}{yes}{no}} - |---expanded: a.b.c - \_____result: a.b.c - /considering: a.b.c}{yes}{no}} - |-------text: a.b.c - |considering: }{yes}{no}} - |---expanded: a.b.c - \_____result: a.b.c + cond: match_address + /considering: a.b.c}{a.b.c}{yes}{no}} + |-------text: a.b.c + |considering: }{a.b.c}{yes}{no}} + |---expanded: a.b.c + \_____result: a.b.c + /considering: a.b.c}{yes}{no}} + |-------text: a.b.c + |considering: }{yes}{no}} + |---expanded: a.b.c + \_____result: a.b.c LOG: MAIN PANIC no @ found in the subject of an address list match: subject="a.b.c" pattern="a.b.c" - a.b.c in "a.b.c"? no (end of list) + a.b.c in "a.b.c"? no (end of list) |--condition: match_address{a.b.c}{a.b.c} |-----result: false /---scanning: yes}{no}} @@ -467,16 +475,17 @@ try option unknown_login ╭considering: ---->░No░lookup░yet:░${if░eq{black}{white}{$sender_host_name}{No}} ├───────text: ---->░No░lookup░yet:░ ├considering: ${if░eq{black}{white}{$sender_host_name}{No}} - ╭considering: black}{white}{$sender_host_name}{No}} - ├───────text: black - ├considering: }{white}{$sender_host_name}{No}} - ├───expanded: black - ╰─────result: black - ╭considering: white}{$sender_host_name}{No}} - ├───────text: white - ├considering: }{$sender_host_name}{No}} - ├───expanded: white - ╰─────result: white + cond: eq + ╭considering: black}{white}{$sender_host_name}{No}} + ├───────text: black + ├considering: }{white}{$sender_host_name}{No}} + ├───expanded: black + ╰─────result: black + ╭considering: white}{$sender_host_name}{No}} + ├───────text: white + ├considering: }{$sender_host_name}{No}} + ├───expanded: white + ╰─────result: white ├──condition: eq{black}{white} ├─────result: false ╭───scanning: $sender_host_name}{No}} @@ -646,6 +655,9 @@ search_tidyup called >>> host in helo_accept_junk_hosts? no (option unset) >>> using ACL "connect0" >>> processing "accept" (TESTSUITE/test-config 42) +>>> check logwrite = connection_id: $connection_id +>>> = connection_id: conn1111 +LOG: connection_id: conn1111 >>> accept: condition test succeeded in ACL "connect0" >>> end of ACL "connect0": ACCEPT >>> test in helo_lookup_domains? @@ -736,6 +748,9 @@ LOG: 10HmbB-000000005vi-0000 H=(test) [V4NET.0.0.0] F=<> rejected after DATA: re >>> host in helo_accept_junk_hosts? no (option unset) >>> using ACL "connect0" >>> processing "accept" (TESTSUITE/test-config 42) +>>> check logwrite = connection_id: $connection_id +>>> = connection_id: conn1112 +LOG: connection_id: conn1112 >>> accept: condition test succeeded in ACL "connect0" >>> end of ACL "connect0": ACCEPT >>> test in helo_lookup_domains? @@ -767,6 +782,9 @@ LOG: 10HmbC-000000005vi-0000 H=(test) [V4NET.0.0.0] F=<> rejected after DATA: re >>> host in helo_accept_junk_hosts? no (option unset) >>> using ACL "connect0" >>> processing "accept" (TESTSUITE/test-config 42) +>>> check logwrite = connection_id: $connection_id +>>> = connection_id: conn1113 +LOG: connection_id: conn1113 >>> accept: condition test succeeded in ACL "connect0" >>> end of ACL "connect0": ACCEPT >>> test in helo_lookup_domains? @@ -797,14 +815,14 @@ admin user dropping to exim gid; retaining priv uid originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME sender address = CALLER@myhost.test.ex - 1.2.3.4 in "1.2.3"? - list element: 1.2.3 - 1.2.3.4 in "1.2.3"? no (malformed IPv4 address or address mask: 1.2.3) - 1.2.3.4 in "1.2.3.4/abc"? - list element: 1.2.3.4/abc - 1.2.3.4 in "1.2.3.4/abc"? no (malformed IPv4 address or address mask: 1.2.3.4) - ::1 in "<; aaaa:bbbb"? - ╎list element: aaaa:bbbb - ╎::1 in "<; aaaa:bbbb"? no (malformed IPv6 address or address mask: aaaa:bbbb) + 1.2.3.4 in "1.2.3"? + list element: 1.2.3 + 1.2.3.4 in "1.2.3"? no (malformed IPv4 address or address mask: 1.2.3) + 1.2.3.4 in "1.2.3.4/abc"? + ╎list element: 1.2.3.4/abc + ╎1.2.3.4 in "1.2.3.4/abc"? no (malformed IPv4 address or address mask: 1.2.3.4) + ╎::1 in "<; aaaa:bbbb"? + ╎ list element: aaaa:bbbb + ╎ ::1 in "<; aaaa:bbbb"? no (malformed IPv6 address or address mask: aaaa:bbbb) search_tidyup called >>>>>>>>>>>>>>>> Exim pid=p1240 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>