Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] X03zlebindkey.ztst: unset LC_* when testing multibyte
- X-seq: zsh-workers 50089
- From: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] X03zlebindkey.ztst: unset LC_* when testing multibyte
- Date: Mon, 25 Apr 2022 19:42:10 +0900
- Archived-at: <https://zsh.org/workers/50089>
- List-id: <zsh-workers.zsh.org>
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'))
Messages sorted by:
Reverse Date,
Date,
Thread,
Author