]> 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:41:57 +0000 (09:41 +0200)
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/conf.sh.common

index a91c0d9f4e9d36b2203d870fbc72469008b4ccfb..2b0bc20896096f5dcb0986b078232e2390c5a75a 100644 (file)
@@ -20,7 +20,7 @@ testsock6() {
        fi
 }
 
-export LANG=C
+export LC_ALL=C
 
 . ${TOP}/version