]> www.infradead.org Git - users/jedix/linux-maple.git/commit
torture: Set kvm.sh language to English
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 1 Apr 2021 22:26:56 +0000 (15:26 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 6 Apr 2021 23:10:34 +0000 (16:10 -0700)
commit998f116d9e60a605cb4c04d15473fe1fcd811ce4
tree783096364981a2dc547e6d00a54b5b4c5094237e
parentae4644af1b9a077a70261f6eec8ba7780769d052
torture:  Set kvm.sh language to English

Some of the code invoked directly and indirectly from kvm.sh parses
the output of commands.  This parsing assumes English, which can cause
failures if the user has set some other language.  In a few cases,
there are language-independent commands available, but this is not
always the case.  Therefore, as an alternative to polyglot parsing,
this commit sets the LANG environment variable to en_US.UTF-8.

Reported-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm.sh