diff options
Diffstat (limited to 'test/scripts/2750-json')
-rw-r--r-- | test/scripts/2750-json/2750 | 22 | ||||
-rw-r--r-- | test/scripts/2750-json/REQUIRES | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/test/scripts/2750-json/2750 b/test/scripts/2750-json/2750 new file mode 100644 index 000000000..f01414b4c --- /dev/null +++ b/test/scripts/2750-json/2750 @@ -0,0 +1,22 @@ +# lookup json +# +exim -be +policy-aliases:google:mode +${lookup {policy-aliases:google:mode} json {DIR/aux-fixed/policy.json}} + +policies:hotmail.com +${lookup {policies:hotmail.com} json {DIR/aux-fixed/policy.json}} + +policy-aliases:outlook +${lookup {policy-aliases:outlook} json {DIR/aux-fixed/policy.json}} + +policy-aliases:outlook:mxs +${lookup {policy-aliases:outlook:mxs} json {DIR/aux-fixed/policy.json}} + +policy-aliases:outlook:mxs:1 +${lookup {policy-aliases : outlook : mxs : 1} json {DIR/aux-fixed/policy.json}} + +aggregate output vs. json extract +${extract json {mxs} \ + {${lookup {policy-aliases:outlook} json {DIR/aux-fixed/policy.json}}}} +**** diff --git a/test/scripts/2750-json/REQUIRES b/test/scripts/2750-json/REQUIRES new file mode 100644 index 000000000..34b00031f --- /dev/null +++ b/test/scripts/2750-json/REQUIRES @@ -0,0 +1 @@ +lookup json |