summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-02-26 13:34:10 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2017-02-26 13:34:10 +0000
commit1e0a93cf90adf08507195e7af3b689e3f42b7910 (patch)
treea59bbe85fd5ec7b5675d9ac79cfe2b3a4bd11892 /test/scripts
parent9e09521e621d852ac4828f1865b4ccb01568d9ee (diff)
Testsuite: regression test for Bug 2061
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0000-Basic/00022
1 files changed, 2 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002
index c2dcc40d9..cf8dc36e0 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}