about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-08-19 11:13:31 +0100
committerPeter Stephenson <pws@zsh.org>2015-08-19 11:13:31 +0100
commit8ed6bc0a85a3483823919aee7067eea1199466df (patch)
treebe065596275a76388ad905fb7b05c6dc90fabaf2 /Test
parent0c5f6e911b6e8e1e2a5be5103a8c2da72bfc8937 (diff)
downloadzsh-8ed6bc0a85a3483823919aee7067eea1199466df.tar.gz
zsh-8ed6bc0a85a3483823919aee7067eea1199466df.tar.xz
zsh-8ed6bc0a85a3483823919aee7067eea1199466df.zip
36241: Test for ztrftime fix, 36227 / f8164fb6.
Check that embedded null characters get passed correctly through
the strftime module builtin.
Diffstat (limited to 'Test')
-rw-r--r--Test/V09datetime.ztst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/V09datetime.ztst b/Test/V09datetime.ztst
index 5c6605587..c9351995e 100644
--- a/Test/V09datetime.ztst
+++ b/Test/V09datetime.ztst
@@ -65,3 +65,7 @@
 >   JANUARY
 >090
 >1
+
+  print ${(V)"$(strftime $'%Y\0%m\0%d' 100000000)"}
+0:Embedded nulls
+>1973^@03^@03