From cf77491a5d7f23b88f0956208ca8cef553a383a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Tue, 18 Jun 2024 08:56:18 +0200 Subject: [PATCH] Use LC_ALL to override all system locales The system tests were overriding the local locale by setting LANG to C. This does not override the locale in case there are individual LC_<*> variables like LC_CTYPE explicitly set. Use LC_ALL=C instead which is the proper way of overriding all currently set locales. (cherry picked from commit 10147efc873dde6b1c6b829a1733cc68000ce481) --- bin/tests/system/isctest/vars/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/isctest/vars/basic.py b/bin/tests/system/isctest/vars/basic.py index 0d4a9cfa51..e76e5f12c3 100644 --- a/bin/tests/system/isctest/vars/basic.py +++ b/bin/tests/system/isctest/vars/basic.py @@ -59,6 +59,6 @@ BASIC_VARS = { if not os.getenv("TSAN_OPTIONS", "") else ":" # workaround for GL#4119 ), - "LANG": "C", + "LC_ALL": "C", "ANS_LOG_LEVEL": "debug", }