mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.1297: wrong value for $LC_CTYPE makes the environ test fail (#22210)
Problem: Wrong value for $LC_CTYPE makes the environ test fail.
Solution: Unset $LC_CTYPE when running tests. (closes vim/vim#11963)
962d916435
Co-authored-by: WuerfelDev <dev@wuerfeldev.de>
This commit is contained in:
parent
24aebbb3de
commit
c9b0fe1f41
@ -73,7 +73,7 @@ func Test_mac_locale()
|
||||
" If $LANG is not set then the system locale will be used.
|
||||
" Run Vim after unsetting all the locale environmental vars, and capture the
|
||||
" output of :lang.
|
||||
let lang_results = system("unset LANG; unset LC_MESSAGES; " ..
|
||||
let lang_results = system("unset LANG; unset LC_MESSAGES; unset LC_CTYPE; " ..
|
||||
\ shellescape(v:progpath) ..
|
||||
\ " --clean -esX -c 'redir @a' -c 'lang' -c 'put a' -c 'print' -c 'qa!' ")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user