about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog4
-rw-r--r--Test/V09datetime.ztst4
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 64e2f6d22..4f95ca5c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-19  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* 36241: Test/V09datetime.ztst: Test for 36227.
+
 2015-08-19  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 36208: Completion/Unix/Command/_subversion: _subversion:
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