forked from aniani/vim
patch 9.0.1297: wrong value for $LC_CTYPE makes the environ test fail
Problem: Wrong value for $LC_CTYPE makes the environ test fail. Solution: Unset $LC_CTYPE when running tests. (closes #11963)
This commit is contained in:
committed by
Bram Moolenaar
parent
094cf9f4d5
commit
962d916435
@@ -73,7 +73,7 @@ func Test_mac_locale()
|
|||||||
" If $LANG is not set then the system locale will be used.
|
" If $LANG is not set then the system locale will be used.
|
||||||
" Run Vim after unsetting all the locale environmental vars, and capture the
|
" Run Vim after unsetting all the locale environmental vars, and capture the
|
||||||
" output of :lang.
|
" 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) ..
|
\ shellescape(v:progpath) ..
|
||||||
\ " --clean -esX -c 'redir @a' -c 'lang' -c 'put a' -c 'print' -c 'qa!' ")
|
\ " --clean -esX -c 'redir @a' -c 'lang' -c 'put a' -c 'print' -c 'qa!' ")
|
||||||
|
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1297,
|
||||||
/**/
|
/**/
|
||||||
1296,
|
1296,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user