]> git.netwichtig.de Git - user/henk/code/exim.git/blobdiff - test/stdout/0002
Include <dlfcn.h> only when necessary
[user/henk/code/exim.git] / test / stdout / 0002
index 623e5769bddfeeca16a2f0fe53e58e5890c02a19..f343545a59128de7e065a0aeb741fa7b007c03db 100644 (file)
 > +
 > +
 > 
+> # 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
 > match_ip:        12 true
 > match_ip:        13 true
 > match_ip:        14 true
+> match_ip:        15 true
 > 
 > queue_running:  n
 > first_delivery: n
 > abcdea a       abcdea
 > abcdea abc z   zzzdez
 > 
+> # Boolean
+> "TrUe"                true      EXPECT: true
+> "FALSE"               false     EXPECT: false
+> " yes"                true      EXPECT: true
+> " no"                 false     EXPECT: false
+> "yes "                true      EXPECT: true
+> Failed: unrecognised boolean value "-1"
+> "0"                   false     EXPECT: false
+> "1"                   true      EXPECT: true
+> " 0 "                 false     EXPECT: false
+> " 1 "                 true      EXPECT: true
+> "1111111111111111111" true      EXPECT: true
+> "9"                   true      EXPECT: true
+> " "                   false     EXPECT: false
+> Failed: unrecognised boolean value "text"
+> Failed: unrecognised boolean value "text"
+> Failed: unrecognised boolean value "text"
+> Failed: unrecognised boolean value "text"
+> "00"                  false     EXPECT: false
+> 
+> "TrUe"                true      EXPECT: true
+> "FALSE"               false     EXPECT: false
+> " yes"                true      EXPECT: true
+> " no"                 false     EXPECT: false
+> "yes "                true      EXPECT: true
+> "-1"                  true      EXPECT: true
+> "0"                   false     EXPECT: false
+> "1"                   true      EXPECT: true
+> " 0 "                 false     EXPECT: false
+> " 1 "                 true      EXPECT: true
+> "1111111111111111111" true      EXPECT: true
+> "9"                   true      EXPECT: true
+> " "                   false     EXPECT: false
+> "text"                true      EXPECT: true
+> " text"               true      EXPECT: true
+> "text "               true      EXPECT: true
+> " text "              true      EXPECT: true
+> "00"                  true      EXPECT: true
+> 
 > # RFC 2047
 > 
 > abcd      abcd
@@ -536,9 +614,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
 > 
@@ -590,6 +668,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