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 5936a30
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", "C.UTF-8",
"MALLOC_OPTIONS", "RS", /* malloc.conf(5) options on OpenBSD */
"TERM", "xterm",
NULL,
Expand Down

0 comments on commit 5936a30

Please sign in to comment.