]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use LC_ALL to override all system locales
authorOndřej Surý <ondrej@isc.org>
Tue, 18 Jun 2024 06:56:18 +0000 (08:56 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 07:32:52 +0000 (07:32 +0000)
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.

bin/tests/system/isctest/vars/basic.py

index 0d4a9cfa51ddec1528688a0d44c18b89e8acbe7e..e76e5f12c3c2f908747e0c30391011aab9a27572 100644 (file)
@@ -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",
 }