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 --- Test/D04parameter.ztst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Test/D04parameter.ztst') 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