From: Todd Lyons Date: Sun, 8 Jul 2012 23:36:02 +0000 (-0700) Subject: Add check for inlist and !inlist in test 0002. X-Git-Tag: exim-4_81_RC1~44 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6754ce8c78c72e82a2da5a5987bd174c80edb532;p=exim.git Add check for inlist and !inlist in test 0002. --- 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 +>