summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-11-23 11:52:12 +0100
committerOliver Kiddle <opk@zsh.org>2016-11-23 11:52:12 +0100
commitee1222454e0fd58b70878ed6864146e00a835fd8 (patch)
tree781a3e35db69f6e28d2d87dc55097660348bb945 /Test
parent85ba68581377c4c77396c016a2bd9da0c107c50e (diff)
downloadzsh-ee1222454e0fd58b70878ed6864146e00a835fd8.tar.gz
zsh-ee1222454e0fd58b70878ed6864146e00a835fd8.tar.xz
zsh-ee1222454e0fd58b70878ed6864146e00a835fd8.zip
unposted: fix printf -v to an array without format string reuse
Diffstat (limited to 'Test')
-rw-r--r--Test/B03print.ztst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/B03print.ztst b/Test/B03print.ztst
index 6ee2a09c6..3f9a4046d 100644
--- a/Test/B03print.ztst
+++ b/Test/B03print.ztst
@@ -316,3 +316,9 @@
  typeset -p foo
 0:printf into an array variable
 >typeset -a foo=( '1  one' '2  two' '3 three' )
+
+ typeset -a foo
+ print -f '%s' -v foo string
+ typeset -p foo
+0:printf to an array variable without format string reuse
+>typeset foo=string