summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2022-05-01 12:13:08 -0700
committerBart Schaefer <schaefer@zsh.org>2022-05-01 12:13:08 -0700
commitf80f880c4ba3f9c37cff24045af23e0af031a71c (patch)
tree12f473fdbc7a1ec4103b5c7b1ea479e87c919acd
parentcc264fb58b9da76c5bbb657613c26f6cd99f6afe (diff)
downloadzsh-f80f880c4ba3f9c37cff24045af23e0af031a71c.tar.gz
zsh-f80f880c4ba3f9c37cff24045af23e0af031a71c.tar.xz
zsh-f80f880c4ba3f9c37cff24045af23e0af031a71c.zip
50157: Tests for 50150
-rw-r--r--ChangeLog2
-rw-r--r--Test/D07multibyte.ztst11
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f5da4218d..1e348d493 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
 
 	* 50159: Test/V14system.ztst: Tests for sysread
 
+	* 50157(Daniel Shahaf): Test/D07multibyte.ztst: Test for 50150
+
 2022-04-30  Bart Schaefer  <schaefer@zsh.org>
 
 	* unposted: Etc/BUGS: remove debian #924736, fixed since 5.8 by
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
index cbd802f23..25634e502 100644
--- a/Test/D07multibyte.ztst
+++ b/Test/D07multibyte.ztst
@@ -627,3 +627,14 @@ F:support character sets outside the portable 7-bit range.
 0:locale gets restored when locale parameters go out of scope (regression test for 45772)
 >❯
 >❯
+
+  # Subshell for zmodload isolation
+  (
+    zmodload zsh/stat
+    touch 50150-é 50150-Ą
+    # Using +size solely in order to make it easier to write the expectations
+    zstat +size -nor -- 50150-*
+  )
+0:(workers/50150) zsh/stat with Unicode and metafication
+>50150-Ą 0
+>50150-é 0