https://bugs.exim.org/show_bug.cgi?id=2061
--- Comment #3 from Git Commit <git@???> ---
Git commit:
https://git.exim.org/exim.git/commitdiff/1e0a93cf90adf08507195e7af3b689e3f42b7910
commit 1e0a93cf90adf08507195e7af3b689e3f42b7910
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Feb 26 13:34:10 2017 +0000
Commit: Jeremy Harris <jgh146exb@???>
CommitDate: Sun Feb 26 13:34:10 2017 +0000
Testsuite: regression test for Bug 2061
---
test/scripts/0000-Basic/0002 | 2 ++
test/stdout/0002 | 2 ++
2 files changed, 4 insertions(+)
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002
index c2dcc40..cf8dc36 100644
--- a/test/scripts/0000-Basic/0002
+++ b/test/scripts/0000-Basic/0002
@@ -63,6 +63,8 @@ reduce: "${reduce{}{+}{$value$item}}"
reduce: ${reduce{a:b:c}{+}{$value$item}}
reduce: ${reduce {<, 1,2,3}{0}{${eval:$value+$item}}}
reduce: ${reduce {3:0:9:4:6}{0}{${if >{$item}{$value}{$item}{$value}}}}
+# Check for extract corrupting reduce's $value
+reduce: ${reduce {b}{a aaa}{${extract{1}{ }{$value}} , $item}}
listnamed: ${listnamed:dlist}
listnamed: ${listnamed:+dlist}
diff --git a/test/stdout/0002 b/test/stdout/0002
index b6ca54d..fa445b0 100644
--- a/test/stdout/0002
+++ b/test/stdout/0002
@@ -52,6 +52,8 @@
> reduce: +abc
> reduce: 6
> reduce: 9
+> # Check for extract corrupting reduce's
+> reduce: a , b
>
> listnamed: *.aa.bb : ^\Nxxx(.*)
> listnamed: *.aa.bb : ^\Nxxx(.*)
--
You are receiving this mail because:
You are on the CC list for the bug.