* [PATCH] X03zlebindkey.ztst: unset LC_* when testing multibyte
@ 2022-04-25 10:42 Jun T
0 siblings, 0 replies; only message in thread
From: Jun T @ 2022-04-25 10:42 UTC (permalink / raw)
To: zsh-workers
If LC_CTYPE is set (and exported) when running test, two multibyte
tests in X03zlebindkey are skipped (can't find utf8 locale).
We need to unset LC_* as in D07, X02, etc.
diff --git a/Test/X03zlebindkey.ztst b/Test/X03zlebindkey.ztst
index 3e299a337..43692a85b 100644
--- a/Test/X03zlebindkey.ztst
+++ b/Test/X03zlebindkey.ztst
@@ -3,6 +3,7 @@
# into bindings. The latter is particularly tricky with multibyte sequences.
%prep
+ unset -m LC_\*
ZSH_TEST_LANG=
langs=(en_{US,GB}.{UTF-,utf}8 en.UTF-8
$(locale -a 2>/dev/null | egrep 'utf8|UTF-8'))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-25 10:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25 10:42 [PATCH] X03zlebindkey.ztst: unset LC_* when testing multibyte Jun T
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).