Skip to content

Commit

Permalink
Favor LC_ALL over LC_CTYPE in pick-test
Browse files Browse the repository at this point in the history
Necessary when running the tests in an environment using a non UTF-8 locale.

Fixes #281.
  • Loading branch information
mptre committed Apr 3, 2018
1 parent 6b7e733 commit 43a9f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pick-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static char **pickargv;
* Any existing value will be overwritten.
*/
static const char *pickenv[] = {
"LC_CTYPE", "en_US.UTF-8",
"LC_ALL", "en_US.UTF-8",
"MALLOC_OPTIONS", "RS", /* malloc.conf(5) options on OpenBSD */
"TERM", "xterm",
NULL,
Expand Down

0 comments on commit 43a9f02

Please sign in to comment.