X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/0d85fa3fd0f9f036b4ca269a15fce0f0c5348ffe..8669f003e82e39e578787d9ebc1b40f36c024332:/test/stdout/0002 diff --git a/test/stdout/0002 b/test/stdout/0002 index 188a9752f..8516f5f82 100644 --- a/test/stdout/0002 +++ b/test/stdout/0002 @@ -30,12 +30,50 @@ > + > + > +> # List operations +> +> filter: "a:b:c" +> filter: a:c +> filter: a'c +> filter: ''a' ''c +> filter: "" +> +> map: "" +> map: a:b:c +> map: ::a::: ::b::: ::c:: +> map: fail string +> map: []:[b]:[c] +> +> reduce: "+" +> reduce: +abc +> reduce: 6 +> reduce: 9 +> +> # Tests with iscntrl() and illegal separators +> +> map: 'a' +'' +'b' +'c' +> +> Failed: error in expression evaluation: expecting number or opening parenthesis (after processing "0+") inside "reduce" item +> reduce: 6 +> reduce: 6 +> reduce: 6 +> > # Operators > > addrss: local-part@dom.ain > addrss: local-part@dom.ain > domain: dom.ain > domain: dom.ain +> +> addresses: ''abc@xyz' ''pqr@xyz +> addresses: local-part@dom.ain +> addresses: local-part@dom.ain+xyz@abc +> addresses: local-part@dom.ain:xyz@abc:p@q:r@s +> addresses: +> > escape: B7\267F2\362 > eval: 2 > eval: 7 @@ -48,15 +86,29 @@ > eval: 1 > eval: 1 > Failed: error in expression evaluation: expecting closing parenthesis (after processing "-2 - (-3") -> Failed: error in expression evaluation: expecting + or - (after processing "-2 - -3") +> Failed: error in expression evaluation: expecting operator (after processing "-2 - -3") > eval: 1 > eval: -5 -> Failed: error in expression evaluation: expecting number or opening parenthesis (after processing "-2 -") +> eval: 1 > eval: 40962 > eval: 63 -> Failed: error in expression evaluation: expecting + or - (after processing "0") +> Failed: error in expression evaluation: expecting operator (after processing "0") > eval10: 77 > eval10: 8 +> Failed: error in expression evaluation: expecting operator (after processing "0") +> eval: 4 +> eval: 4 +> eval: 4 +> eval: 13 +> eval: 9 +> eval: 6 +> eval: 3 +> eval: 0 +> eval: 24 +> eval: 4608 +> eval: 4608 +> eval: -4608 +> > expand: $primary_hostname myhost.test.ex > hash: jmg monty fbWx > hash: abcX abX aX X @@ -204,6 +256,12 @@ > Failed: invalid integer "3z " > Failed: integer expected but "a" found > +> >0: n +> =: y +> -2<: y +> 08>07: y +> 011=11: y +> > def:y y > def:n n > Failed: unknown variable "post" after "def:" @@ -287,6 +345,7 @@ > match_ip: 12 true > match_ip: 13 true > match_ip: 14 true +> match_ip: 15 true > > queue_running: n > first_delivery: n @@ -451,6 +510,13 @@ > Long: =?iso-8859-8?Q?_here_we_go=3A_a_string_that_is_going_to_be_encoded=3A_i?= =?iso-8859-8?Q?t_will_go_over_the_75-char_limit?= > Long: =?iso-8859-8?Q?_here_we_go=3A_a_string_that_is_going_to_be_encoded=3A_i?= =?iso-8859-8?Q?t_will_go_over_the_75-char_limit_by_a_long_way=3B_in_fac?= =?iso-8859-8?Q?t_this_one_will_go_over_the_150_character_limit?= > +> # RFC 2047 decode +> +> abcd abcd +> <:abcd:> <:abcd:> +> <:ab cd:> <:ab cd:> +> Long: here we go: a string that is going to be encoded: it will go over the 75-char limit +> Long: here we go: a string that is going to be encoded: it will go over the 75-char limit by a long way; in fact this one will go over the 150 character limit > > # UTF-8 > @@ -509,9 +575,9 @@ xyz > > # PRVS > -> prvs=userx/xxxxxxxxxx@test.ex -> prvs=userx/xxxxxxxxxx@test.ex -> prvs=userx/xxxxxxxxxx@test.ex +> prvs=xxxxxxxxxx=userx@test.ex +> prvs=xxxxxxxxxx=userx@test.ex +> prvs=xxxxxxxxxx=userx@test.ex > > # Syntax errors > @@ -563,6 +629,41 @@ xyz > Failed: non-digit after underscore in "substr_1_" > Failed: non-digit after underscore in "substr__3" > +> # Iterations: forany and forall +> +> yes +> yes +> yes +> no +> yes +> no +> no +> yes +> yes +> +> Failed: unknown condition "yes" inside "forany" condition +> Failed: missing } at end of condition inside "forany" +> +> yes +> no +> no +> no +> +> no +> yes +> yes +> yes +> +> # Expect yes +> outer=yes item='' (unset) +> +> # Expect no +> outer=no +> +> # Error inside nest - check message is helpful +> Failed: missing } at end of condition inside "forall" inside "forany" condition +> +> > # Miscellaneous (for bug fixes, etc) > > true