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

From: Paul E. McKenney
Date: Mon Apr 05 2021 - 11:25:42 EST


On Mon, Apr 05, 2021 at 04:23:09PM +0200, Christian Kujau wrote:
> 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?

If it works for Frederic, I am good with it. And yes, we do need to
have a least-common-denominator solution.

> </bikeshed>

Plaid!!! We must paint the bikeshed plaid! ;-)

Thanx, Paul