Re: [PATCH] torture: Correctly fetch CPUs for kvm-build.sh with all native language

From: Christian Kujau
Date: Mon Apr 05 2021 - 10:31:12 EST


On Thu, 1 Apr 2021, Paul E. McKenney wrote:
> +# This script knows only English.
> +LANG=en_US.UTF-8; export LANG

This, too, will only work if en_US.UTF-8 is installed . Check with "locale
-a" if it is. Also, Perl will complain loudly if the language is not
installed (try: "LANG=en_US.UTF-9 perl"), a nice way to test if LANG works
as expected.

So, wouldn't LANG=C be a more conservative fallback here?

</bikeshed>

Christian.
--
BOFH excuse #58:

high pressure system failure