summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-10 14:25:43 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-10 14:25:43 +0000
commitf78eb7c6264c5f1a4ec2fb24c39060e0686f7714 (patch)
treec203285c5e61555dfd8cebc4ed1110cf34349a11 /test/scripts/0000-Basic
parent727071f81598850285bc4f6270a5bd9ad40c61ba (diff)
Add $auth1, $auth2, $auth3 variables.
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r--test/scripts/0000-Basic/000216
1 files changed, 16 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002
index eaa0dd82a..f869c6da4 100644
--- a/test/scripts/0000-Basic/0002
+++ b/test/scripts/0000-Basic/0002
@@ -269,6 +269,22 @@ match_domain: ${if match_domain{5.aa.bb}{+dlist}{yes}{no}}
match_domain: ${if match_domain{xxxyz}{+dlist}{yes}{no}}
match_domain: ${if match_domain{xyz}{+dlist}{yes}{no}}
+${if match{x@zz.aa.bb}{^(.*)} \
+ { \
+ >$1< \
+ ${if match_domain{${domain:$1}}{+dlist}{[$1]}} \
+ >$1< \
+ } \
+ { CAN'T HAPPEN}}
+
+${if match{x@xxxabc}{^(.*)} \
+ { \
+ >$1< \
+ ${if match_domain{${domain:$1}}{^\Nxxx(.*)\N}{[$1]}} \
+ >$1< \
+ } \
+ { CAN'T HAPPEN}}
+
match_address: ${if match_address{x@y.z}{p@q:*@y.z}{yes}{no}}
match_address: ${if match_address{x@y.z}{p@q:x@*.z}{yes}{no}}