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>
Mon, 10 May 2021 23:05:06 +0000 (16:05 -0700)
commit00ad25f6019b3bd61bd2ddc128509728b49ac589
tree49788ba066e4ff095366e816183f10c62cc8058a
parentf8c8484dbda78e09912a391a8c87414920bbdfee
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