Add check for inlist and !inlist in test 0002.
[users/heiko/exim.git] / test / scripts / 0000-Basic / 0002
index 3e2421b1e0051c718791680cf1acbc145e35826d..e35e4a0820842526f6b64aa3ea29cb3f9ba615da 100644 (file)
@@ -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}}
+****