fix: test: 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.

Merge branch 'ondrej/use-LC_ALL-not-LANG' into 'main'

See merge request isc-projects/bind9!9109
This commit is contained in:
Ondřej Surý
2024-08-05 07:33:02 +00:00
+1 -1
View 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",
}