From 3604a9c4ac944f72be919b412567e1f54b8e4552 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Wed, 22 Feb 2012 15:35:49 +0000 Subject: 30242: Tests for ${...=...} in POSIX emulation --- ChangeLog | 7 ++++--- Test/D04parameter.ztst | 5 ++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 387d0504b..8ec1ced3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,8 +5,9 @@ 2012-02-20 Barton E. Schaefer - * 30242: Src/subst.c: use PREFORK_SINGLE for the right-hand side - of ${...=...} when SH_WORD_SPLIT is in effect (POSIX emulation). + * 30242: Src/subst.c, Test/D05parameter.ztst: use PREFORK_SINGLE + for the right-hand side of ${...=...} when SH_WORD_SPLIT is in + effect (POSIX emulation). 2012-02-19 Peter Stephenson @@ -16005,5 +16006,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5592 $ +* $Revision: 1.5593 $ ***************************************************** diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 69606e453..7eb721226 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -264,10 +264,13 @@ done } test_split_var= - : ${test_split_var:=$(test_splitting)} + echo _${test_split_var:=$(test_splitting)}_ echo "_${test_split_var}_") 0:SH_WORD_SPLIT inside $(...) inside ${...} >_'one' 'two' 'three'_ +>_'one' +>'two' +>'three'_ print -l "${(f)$(print first line\\nsecond line\\nthird line)}" 0:${(f)$(...)} -- cgit 1.4.1