[exim-cvs] Add check for inlist and !inlist in test 0002.

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Add check for inlist and !inlist in test 0002.
Gitweb: http://git.exim.org/exim.git/commitdiff/6754ce8c78c72e82a2da5a5987bd174c80edb532
Commit:     6754ce8c78c72e82a2da5a5987bd174c80edb532
Parent:     b5a70bdfa38bcc3e1143f8fe6f63e7613f03e690
Author:     Todd Lyons <tlyons@???>
AuthorDate: Sun Jul 8 16:36:02 2012 -0700
Committer:  Todd Lyons <tlyons@???>
CommitDate: Sun Jul 8 16:37:47 2012 -0700


    Add check for inlist and !inlist in test 0002.
---
 test/scripts/0000-Basic/0002 |    5 +++++
 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 3e2421b..e35e4a0 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 b4b96df..61144f1 100644
--- a/test/stdout/0002
+++ b/test/stdout/0002
@@ -872,3 +872,6 @@ xyz

 > match_ip:        15 
 > match_ip:        16 

>

+> in list
+> in list
+>