Eximstats 1.54
[exim.git] / test / stdout / 0002
... / ...
CommitLineData
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
9> primary_hostname: myhost.test.ex
10> primary_hostname: myhost.test.ex
11> qualify_domain: myhost.test.ex
12> bounce_return_size_limit: 102400
13> spool_directory: TESTSUITE/spool
14> Failed: unknown variable in "${unknown}"
15> h_subject: (should be empty)
16> h_subject: (should be empty)
17> Failed: unknown expansion operator "header_subject"
18>
19> # $message_headers should be empty
20> message_headers: ><
21>
22> # Continuation
23> xy
24> xy
25>
26> # Overlong names and overbig numbers
27>
28> Failed: unknown variable name "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
29> Failed: unknown variable in "${aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}"
30> +
31> +
32>
33> # Operators
34>
35> addrss: local-part@dom.ain
36> addrss: local-part@dom.ain
37> domain: dom.ain
38> domain: dom.ain
39> escape: B7\267F2\362
40> eval: 2
41> eval: 7
42> eval: 9
43> eval: 4
44> eval: 6
45> eval: 42
46> Failed: error in expression evaluation: expecting number or opening parenthesis (after processing "")
47> eval: -2
48> eval: 1
49> eval: 1
50> Failed: error in expression evaluation: expecting closing parenthesis (after processing "-2 - (-3")
51> Failed: error in expression evaluation: expecting operator (after processing "-2 - -3")
52> eval: 1
53> eval: -5
54> eval: 1
55> eval: 40962
56> eval: 63
57> Failed: error in expression evaluation: expecting operator (after processing "0")
58> eval10: 77
59> eval10: 8
60> Failed: error in expression evaluation: expecting operator (after processing "0")
61> eval: 4
62> eval: 4
63> eval: 4
64> eval: 13
65> eval: 9
66> eval: 6
67> eval: 3
68> eval: 0
69> eval: 24
70> eval: 4608
71> eval: 4608
72> eval: -4608
73>
74> expand: $primary_hostname myhost.test.ex
75> hash: jmg monty fbWx
76> hash: abcX abX aX X
77> hex2b64:EjRWeA==
78> hex2b64:q83v
79> hex2b64:q83v
80> hex2b64:Gis8TV5v
81> Failed: "1a2b3c4d5e6" contains an odd number of characters
82> Failed: "1a2b3c4d5e6g" is not a hex string
83> hex2b64:MPPJPkZDbetYunCBao7BJA==
84> hex2b64:ztcfpyNSMb7Tg/rP3EHE3cwi7PE=
85>
86> The base62 operator is actually a base36 operator in the Darwin and Cygwin
87> environments. Write cunning tests that produce the same output in both cases,
88> while doing a reasonable check.
89>
90> base62: OK
91> base62d: OK
92> base62d: OK
93> Failed: argument for base62 operator is "12345x", which is not a decimal number
94> Failed: argument for base62d operator is "0003D7.", which is not a base 36/62 number
95>
96> hmac: dd97e3ba5d1a61b5006108f8c8252953
97> hmac: 0210cf9d274b53f1550f657c378b29e8bfed1064
98> md5: 77add1d5f41223d5582fca736a5cb335
99> sha1: DA39A3EE5E6B4B0D3255BFEF95601890AFD80709
100> sha1: A9993E364706816ABA3E25717850C26C9CD0D89D
101> mask: 192.168.10.192/28
102> mask: 192.168.10.206/32
103> Failed: mask value too big in "192.168.10.206/33"
104> mask: 0.0.0.0/0
105> Failed: missing mask value in "192.168.10.206"
106> Failed: "a.b.c.d" is not an IP address
107> nhash: 19 0/61
108> lc/uc: the quick BROWN FOX
109> length: The quick abc
110> lclpt: local-part
111> lclpt: local-part
112> quote: aZ09_.-Q "ab*cd" "abcd\"ef"
113> quote: "nl(\n)"
114> quote: "cr(\r)"
115> quote: "tab( )"
116