OpenSSL: Fix aggregation of messages.
[exim.git] / test / stdout / 0002
CommitLineData
54c5ebb1
PH
1>
2> # These expansions can test variables in the configuration, but as there
3> # is no message being processed, there is no message-related data. But
4> # that of course gets tested in plenty of other places.
5>
6> # Some fixed variables
7>
8> exim_path: TESTSUITE/eximdir/exim
71224040 9> exim_version: x.yz
98b8312f
HSHR
10> config_dir: TESTSUITE
11> config_file: TESTSUITE/test-config
54c5ebb1
PH
12> primary_hostname: myhost.test.ex
13> primary_hostname: myhost.test.ex
14> qualify_domain: myhost.test.ex
15> bounce_return_size_limit: 102400
16> spool_directory: TESTSUITE/spool
0cd5fd23 17> queue_name:
54c5ebb1
PH
18> Failed: unknown variable in "${unknown}"
19> h_subject: (should be empty)
20> h_subject: (should be empty)
21> Failed: unknown expansion operator "header_subject"
22>
23> # $message_headers should be empty
24> message_headers: ><
25>
26> # Continuation
27> xy
28> xy
29>
30> # Overlong names and overbig numbers
31>
32> Failed: unknown variable name "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
33> Failed: unknown variable in "${aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}"
34> +
35> +
36>
29f89cad
PH
37> # List operations
38>
39> filter: "a:b:c"
40> filter: a:c
41> filter: a'c
42> filter: ''a' ''c
43> filter: ""
44>
45> map: ""
46> map: a:b:c
47> map: ::a::: ::b::: ::c::
48> map: fail string
49> map: []:[b]:[c]
50>
51> reduce: "+"
52> reduce: +abc
53> reduce: 6
54> reduce: 9
1e0a93cf
JH
55> # Check for extract corrupting reduce's
56> reduce: a , b
29f89cad 57>
a64a3dfa
JH
58> listnamed: *.aa.bb : ^\Nxxx(.*)
59> listnamed: *.aa.bb : ^\Nxxx(.*)
60> listnamed: V4NET.11.12.13 : iplsearch;TESTSUITE/aux-fixed/0002.iplsearch
61> listnamed: *.aa.bb : ^\Nxxx(.*) : ;;
62> listnamed: a : b;c : *.aa.bb : ^\Nxxx(.*) : ;; : 2001::630::212::8::204::::b664
042eb971 63> Failed: "nolist" is not a named list
a64a3dfa 64> listnamed: *.aa.bb : ^\Nxxx(.*)
042eb971
JH
65> Failed: "hlist" is not a domain named list
66> Failed: bad suffix on "list" operator
67>
a64a3dfa
JH
68> listcount: 3
69> listcount: 0
70> listcount: 3
71> listcount: 2
042eb971 72>
aa26e137
JH
73> listextract: b
74> listextract: XcX
75> listextract:
76> listextract:
77> listextract: fail
f90d49f7 78> Failed: "listextract" failed and "fail" requested
aa26e137 79>
ac4ef9bd
JH
80> sort: 1:2:3:4
81> sort: 4,3,2,1
82> sort: a:aa:B:c
83> sort: 10 smtp.ex.com:100 r2.ex.com:666 r99.ex.com
84> sort: 10,smtp.ex.com:100,r2.ex.com:666,r99.ex.com
85> sort: ""
86>
ec95d1a6
PH
87> # Tests with iscntrl() and illegal separators
88>
89> map: 'a'
90''
91'b'
92'c'
93>
94> Failed: error in expression evaluation: expecting number or opening parenthesis (after processing "0+") inside "reduce" item
95> reduce: 6
96> reduce: 6
97> reduce: 6
98>
54c5ebb1
PH
99> # Operators
100>
e47376be
JH
101> Failed: Not enough arguments for 'acl' (min is 1)
102> Failed: Not enough arguments for 'acl' (min is 1)
bef3ea7f 103> Failed: error from acl "a_nosuch"
525239c1
JH
104> acl: (0) [] []
105> acl: (1) [person@dom.ain] []
106> acl: (2) [firstarg] [secondarg]
107> acl: (1) [arg with spaces] []
723c72e6
JH
108> acl:
109> acl:
bef3ea7f
JH
110> acl: (0) [] []
111> acl: (1) [person@dom.ain] []
112> Failed: error from acl "a_defer"
113> acl: (2) [new arg1] [top_arg_1]
525239c1 114> acl: (1) [1] [] (1) [2] [] (1) [3] [] (1) [4] []
723c72e6 115>
54c5ebb1
PH
116> addrss: local-part@dom.ain
117> addrss: local-part@dom.ain
e2ff8e24
JB
118> addrss: local-part@dom.ain
119> addrss: local-part@dom.ain
120> addrss: local-part@dom.ain
121> addrss: local-part.dot-atom@dom.ain
122> addrss: local-part@dom.ain
123> domain: dom.ain
54c5ebb1
PH
124> domain: dom.ain
125> domain: dom.ain
29f89cad
PH
126>
127> addresses: ''abc@xyz' ''pqr@xyz
128> addresses: local-part@dom.ain
129> addresses: local-part@dom.ain+xyz@abc
130> addresses: local-part@dom.ain:xyz@abc:p@q:r@s
131> addresses:
1b7cf216 132> Failed: output separator missing in expanding ${addresses:>}
29f89cad 133>
3367f8c2
JH
134> escape: B7\267F2\362
135> excape8bit: undisturbed text tab
136newline tab\134backslash ~tilde\177DEL\200\201.
137>
54c5ebb1
PH
138> eval: 2
139> eval: 7
140> eval: 9
141> eval: 4
142> eval: 6
143> eval: 42
144> Failed: error in expression evaluation: expecting number or opening parenthesis (after processing "")
145> eval: -2
146> eval: 1
147> eval: 1
148> Failed: error in expression evaluation: expecting closing parenthesis (after processing "-2 - (-3")
af561417 149> Failed: error in expression evaluation: expecting operator (after processing "-2 - -3")
54c5ebb1
PH
150> eval: 1
151> eval: -5
af561417 152> eval: 1
54c5ebb1
PH
153> eval: 40962
154> eval: 63
af561417 155> Failed: error in expression evaluation: expecting operator (after processing "0")
54c5ebb1
PH
156> eval10: 77
157> eval10: 8
af561417
PH
158> Failed: error in expression evaluation: expecting operator (after processing "0")
159> eval: 4
160> eval: 4
161> eval: 4
162> eval: 13
163> eval: 9
164> eval: 6
165> eval: 3
166> eval: 0
167> eval: 24
168> eval: 4608
169> eval: 4608
170> eval: -4608
171>
54c5ebb1
PH
172> expand: $primary_hostname myhost.test.ex
173> hash: jmg monty fbWx
174> hash: abcX abX aX X
175> hex2b64:EjRWeA==
176> hex2b64:q83v
177> hex2b64:q83v
178> hex2b64:Gis8TV5v
179> Failed: "1a2b3c4d5e6" contains an odd number of characters
180> Failed: "1a2b3c4d5e6g" is not a hex string
181> hex2b64:MPPJPkZDbetYunCBao7BJA==
182> hex2b64:ztcfpyNSMb7Tg/rP3EHE3cwi7PE=
183>
03ca21f8
JH
184> base32: 0 <>
185> base32: 1 <b>
186> base32: 31 <7>
187> base32: 32 <ba>
188> base32: 42 <bk>
189> Failed: argument for base32 operator is "0x1", which is not a decimal number
190>
191> base32d: 0 0
192> base32d: 1 1
193> base32d: 31 31
194> base32d: 32 32
195> base32d: 42 42
196> Failed: argument for base32d operator is "ABC", which is not a base 32 number
197>
9650d98a 198> the base62 operator is actually a base36 operator in the Darwin and Cygwin
54c5ebb1
PH
199> environments. Write cunning tests that produce the same output in both cases,
200> while doing a reasonable check.
201>
202> base62: OK
203> base62d: OK
204> base62d: OK
205> Failed: argument for base62 operator is "12345x", which is not a decimal number
206> Failed: argument for base62d operator is "0003D7.", which is not a base 36/62 number
207>
208> hmac: dd97e3ba5d1a61b5006108f8c8252953
209> hmac: 0210cf9d274b53f1550f657c378b29e8bfed1064
210> md5: 77add1d5f41223d5582fca736a5cb335
211> sha1: DA39A3EE5E6B4B0D3255BFEF95601890AFD80709
212> sha1: A9993E364706816ABA3E25717850C26C9CD0D89D
213> mask: 192.168.10.192/28
214> mask: 192.168.10.206/32
215> Failed: mask value too big in "192.168.10.206/33"
216> mask: 0.0.0.0/0
217> Failed: missing mask value in "192.168.10.206"
218> Failed: "a.b.c.d" is not an IP address
fc4a7f70
JH
219> ipv6denorm: 0000:0000:0000:0000:0000:0000:0000:0001
220> ipv6denorm: fe00:0000:0000:0000:0000:0000:0000:0001
221> ipv6denorm: 0000:0000:0000:0000:0000:ffff:c0a8:0001
222> ipv6denorm: fe80:0000:0000:0000:0000:0000:c0a8:0001
223> ipv6norm: ::1
224> ipv6norm: 2a00::
225> ipv6norm: 2a00::1
226> ipv6norm: 2a00:eadf::1:0
227> ipv6norm: 2a00:eadf:0:1::
228> ipv6norm: 2a00::
229> ipv6norm: 2a00:2:3:4:5:6:7:8
54c5ebb1
PH
230> nhash: 19 0/61
231> lc/uc: the quick BROWN FOX
232> length: The quick abc
233> lclpt: local-part
234> lclpt: local-part
e2ff8e24 235> lclpt: local.part
54c5ebb1
PH
236> quote: aZ09_.-Q "ab*cd" "abcd\"ef"
237> quote: "nl(\n)"
238> quote: "cr(\r)"
239> quote: "tab( )"
240