47302: Test for print -v fix

This commit is contained in:
Mikael Magnusson 2020-08-08 00:27:58 +02:00
parent b6ba74cd4e
commit ea64d2fd4b
3 changed files with 13 additions and 0 deletions

View file

@ -3,6 +3,9 @@
* Jun-ichi Takimoto: 47301: Src/builtin.c: Fix print -v
metafication
* 47302: Test/B03print.ztst, Test/D07multibyte.ztst: Test for
print -v fix
2020-10-18 Roman Perepelitsa <roman.perepelitsa@gmail.com>
* 47476: Src/Modules/files.c: Fix a race condition in zf_mkdir -p

View file

@ -4,6 +4,7 @@
# Use of print -p to output to coprocess A01grammar
# Prompt expansion with print -P D01prompt
# -l, -r, -R and -n indirectly tested in various places
# multibyte tests in D07multibyte
# Not yet tested:
# echo and pushln

View file

@ -570,6 +570,15 @@
0:printf %q and quotestring and general metafy / token madness
>你你
typeset foo
print -v foo 'ÖÓŐ'
echo $foo
printf -v foo 'ÖÓŐ'
echo $foo
0:print and printf into a variable with multibyte text
>ÖÓŐ
>ÖÓŐ
# This test is kept last as it introduces an additional
# dependency on the system regex library.
if zmodload zsh/regex 2>/dev/null; then