summaryrefslogtreecommitdiff
path: root/test/confs
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-05-01 17:45:21 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2018-05-01 17:45:21 +0100
commitbce15b62182d356f86e7a0bdbb513cbb22de1a20 (patch)
tree06450c4eb3cab2d3d1d85603021ea12824af68d5 /test/confs
parentc8599aad9649a7970e77fdf24f29ade0fcb987a7 (diff)
Expansions: new ${lheader:<name>}. Bug 2272
Diffstat (limited to 'test/confs')
-rw-r--r--test/confs/456010
1 files changed, 9 insertions, 1 deletions
diff --git a/test/confs/4560 b/test/confs/4560
index 3c31539f5..e2095af4c 100644
--- a/test/confs/4560
+++ b/test/confs/4560
@@ -26,8 +26,16 @@ check_data:
warn logwrite = arc_state: <$arc_state>
logwrite = domains: <$arc_domains>
logwrite = arc_oldest_pass <$arc_oldest_pass>
- condition = ${if def:arc_state_reason}
logwrite = reason: <$arc_state_reason>
+ logwrite = lh_A-R: <$lh_Authentication-Results:>
+ logwrite = lh-ams: <$lh_ARC-Authentication-Results:>
+# logwrite = oldest-p-ams: <${listextract {$arc_oldest_pass} {$lh_ARC-Authentication-Results:}}>
+ logwrite = oldest-p-ams: <${reduce {$lh_ARC-Authentication-Results:} \
+ {} \
+ {${if = {$arc_oldest_pass} \
+ {${extract {i}{${extract {1}{;}{$item}}}}} \
+ {$item} {$value}}} \
+ }>
.ifdef OPTION
accept