diff options
author | Todd Lyons <tlyons@ivenue.com> | 2012-07-08 16:36:02 -0700 |
---|---|---|
committer | Todd Lyons <tlyons@exim.org> | 2012-07-08 16:37:47 -0700 |
commit | 6754ce8c78c72e82a2da5a5987bd174c80edb532 (patch) | |
tree | 3ed980b5f4b4089d0e035eb643ce61f9a8d3f39c | |
parent | b5a70bdfa38bcc3e1143f8fe6f63e7613f03e690 (diff) |
Add check for inlist and !inlist in test 0002.
-rw-r--r-- | test/scripts/0000-Basic/0002 | 5 | ||||
-rw-r--r-- | test/stdout/0002 | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002 index 3e2421b1e..e35e4a082 100644 --- a/test/scripts/0000-Basic/0002 +++ b/test/scripts/0000-Basic/0002 @@ -926,3 +926,8 @@ exim -d -be match_ip: 15 ${if match_ip{1.2.3.4}{1.2.3}} match_ip: 16 ${if match_ip{1.2.3.4}{1.2.3.4/abc}} **** +# Operation of inlist and negated inlist +exim -be +${if inlist{aa}{aa} {in list}{not in list}} +${if !inlist{aa}{aa} {not in list}{in list}} +**** diff --git a/test/stdout/0002 b/test/stdout/0002 index b4b96dfb5..61144f157 100644 --- a/test/stdout/0002 +++ b/test/stdout/0002 @@ -872,3 +872,6 @@ xyz > match_ip: 15 > match_ip: 16 > +> in list +> in list +> |