ARC: Fix signing for case when DKIM signing failed
[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
118> domain: dom.ain
119> domain: dom.ain
29f89cad
PH
120>
121> addresses: ''abc@xyz' ''pqr@xyz
122> addresses: local-part@dom.ain
123> addresses: local-part@dom.ain+xyz@abc
124> addresses: local-part@dom.ain:xyz@abc:p@q:r@s
125> addresses:
1b7cf216 126> Failed: output separator missing in expanding ${addresses:>}
29f89cad 127>
3367f8c2
JH
128> escape: B7\267F2\362
129> excape8bit: undisturbed text tab
130newline tab\134backslash ~tilde\177DEL\200\201.
131>
54c5ebb1
PH
132> eval: 2
133> eval: 7
134> eval: 9
135> eval: 4
136> eval: 6
137> eval: 42
138> Failed: error in expression evaluation: expecting number or opening parenthesis (after processing "")
139> eval: -2
140> eval: 1
141> eval: 1
142> Failed: error in expression evaluation: expecting closing parenthesis (after processing "-2 - (-3")
af561417 143> Failed: error in expression evaluation: expecting operator (after processing "-2 - -3")
54c5ebb1
PH
144> eval: 1
145> eval: -5
af561417 146> eval: 1
54c5ebb1
PH
147> eval: 40962
148> eval: 63
af561417 149> Failed: error in expression evaluation: expecting operator (after processing "0")
54c5ebb1
PH
150> eval10: 77
151> eval10: 8
af561417
PH
152> Failed: error in expression evaluation: expecting operator (after processing "0")
153> eval: 4
154> eval: 4
155> eval: 4
156> eval: 13
157> eval: 9
158> eval: 6
159> eval: 3
160> eval: 0
161> eval: 24
162> eval: 4608
163> eval: 4608
164> eval: -4608
165>
54c5ebb1
PH
166> expand: $primary_hostname myhost.test.ex
167> hash: jmg monty fbWx
168> hash: abcX abX aX X
169> hex2b64:EjRWeA==
170> hex2b64:q83v
171> hex2b64:q83v
172> hex2b64:Gis8TV5v
173> Failed: "1a2b3c4d5e6" contains an odd number of characters
174> Failed: "1a2b3c4d5e6g" is not a hex string
175> hex2b64:MPPJPkZDbetYunCBao7BJA==
176> hex2b64:ztcfpyNSMb7Tg/rP3EHE3cwi7PE=
177>
03ca21f8
JH
178> base32: 0 <>
179> base32: 1 <b>
180> base32: 31 <7>
181> base32: 32 <ba>
182> base32: 42 <bk>
183> Failed: argument for base32 operator is "0x1", which is not a decimal number
184>
185> base32d: 0 0
186> base32d: 1 1
187> base32d: 31 31
188> base32d: 32 32
189> base32d: 42 42
190> Failed: argument for base32d operator is "ABC", which is not a base 32 number
191>
9650d98a 192> the base62 operator is actually a base36 operator in the Darwin and Cygwin
54c5ebb1
PH
193> environments. Write cunning tests that produce the same output in both cases,
194> while doing a reasonable check.
195>
196> base62: OK
197> base62d: OK
198> base62d: OK
199> Failed: argument for base62 operator is "12345x", which is not a decimal number
200> Failed: argument for base62d operator is "0003D7.", which is not a base 36/62 number
201>
202> hmac: dd97e3ba5d1a61b5006108f8c8252953
203> hmac: 0210cf9d274b53f1550f657c378b29e8bfed1064
204> md5: 77add1d5f41223d5582fca736a5cb335
205> sha1: DA39A3EE5E6B4B0D3255BFEF95601890AFD80709
206> sha1: A9993E364706816ABA3E25717850C26C9CD0D89D
207> mask: 192.168.10.192/28
208> mask: 192.168.10.206/32
209> Failed: mask value too big in "192.168.10.206/33"
210> mask: 0.0.0.0/0
211> Failed: missing mask value in "192.168.10.206"
212> Failed: "a.b.c.d" is not an IP address
fc4a7f70
JH
213> ipv6denorm: 0000:0000:0000:0000:0000:0000:0000:0001
214> ipv6denorm: fe00:0000:0000:0000:0000:0000:0000:0001
215> ipv6denorm: 0000:0000:0000:0000:0000:ffff:c0a8:0001
216> ipv6denorm: fe80:0000:0000:0000:0000:0000:c0a8:0001
217> ipv6norm: ::1
218> ipv6norm: 2a00::
219> ipv6norm: 2a00::1
220> ipv6norm: 2a00:eadf::1:0
221> ipv6norm: 2a00:eadf:0:1::
222> ipv6norm: 2a00::
223> ipv6norm: 2a00:2:3:4:5:6:7:8
54c5ebb1
PH
224> nhash: 19 0/61
225> lc/uc: the quick BROWN FOX
226> length: The quick abc
227> lclpt: local-part
228> lclpt: local-part
229> quote: aZ09_.-Q "ab*cd" "abcd\"ef"
230> quote: "nl(\n)"
231> quote: "cr(\r)"
232> quote: "tab( )"
233