1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00

add test for 21352

This commit is contained in:
Oliver Kiddle 2005-06-17 08:38:51 +00:00
parent 14bfaab3ef
commit 7ba32bbc26
2 changed files with 15 additions and 0 deletions

View file

@ -203,3 +203,11 @@
printf -- '%s\n' str
0:initial `--' ignored to satisfy POSIX
>str
printf '%'
1:nothing after % in format specifier
?(eval):printf:1: %: invalid directive
printf $'%\0'
1:explicit null after % in format specifier
?(eval):printf:1: %: invalid directive