Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Test release: 5.8.1.2-test



I've found that the test Xpassed if LANG was unset:

% unset LANG
% make TESTNUM=D07 check
./D07multibyte.ztst: test XPassed.

It seems we need to export LANG (in ztst.zsh) to pass it to
$ZTST_testdir/../Src/zsh.


diff --git a/Test/ztst.zsh b/Test/ztst.zsh
index 89fe69b5b..263573333 100755
--- a/Test/ztst.zsh
+++ b/Test/ztst.zsh
@@ -30,6 +30,7 @@ emulate -R zsh
 [[ -n $LC_NUMERIC ]] && LC_NUMERIC=C
 [[ -n $LC_MESSAGES ]] && LC_MESSAGES=C
 [[ -n $LANG ]] && LANG=C
+export LANG
 
 # Don't propagate variables that are set by default in the shell.
 typeset +x WORDCHARS








Messages sorted by: Reverse Date, Date, Thread, Author