Testsuite: more munge tweaks
[exim.git] / test / scripts / 2750-json / 2750
1 # lookup json
2 #
3 exim -be
4 policy-aliases:google:mode
5 ${lookup {policy-aliases:google:mode} json {DIR/aux-fixed/policy.json}}
6
7 policies:hotmail.com
8 ${lookup {policies:hotmail.com} json {DIR/aux-fixed/policy.json}}
9
10 policy-aliases:outlook
11 ${lookup {policy-aliases:outlook} json {DIR/aux-fixed/policy.json}}
12
13 policy-aliases:outlook:mxs
14 ${lookup {policy-aliases:outlook:mxs} json {DIR/aux-fixed/policy.json}}
15
16 policy-aliases:outlook:mxs:1
17 ${lookup {policy-aliases : outlook : mxs : 1} json {DIR/aux-fixed/policy.json}}
18
19 aggregate output vs. json extract
20 ${extract json {mxs} \
21         {${lookup {policy-aliases:outlook} json {DIR/aux-fixed/policy.json}}}}
22
23 string with embedded comma
24 ${lookup {policy-aliases:key_for_string_with_comma} json {DIR/aux-fixed/policy.json}}
25 ****