From 5936a306b6f24794fb8d7969d09fe67f2590afa6 Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Tue, 3 Apr 2018 19:06:05 +0200 Subject: [PATCH] Favor LC_ALL over LC_CTYPE in pick-test Necessary when running the tests in an environment using a non UTF-8 locale. Fixes #281. --- tests/pick-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pick-test.c b/tests/pick-test.c index c137ebe9..30fe54bb 100644 --- a/tests/pick-test.c +++ b/tests/pick-test.c @@ -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,