summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/scripts/0000-Basic/00025
-rw-r--r--test/stdout/00023
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
+>