[lkml]   [2021]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[tip: core/rcu] torture: Set language to English
The following commit has been merged into the core/rcu branch of tip:

Commit-ID: 00ad25f6019b3bd61bd2ddc128509728b49ac589
Author: Paul E. McKenney <>
AuthorDate: Thu, 01 Apr 2021 15:26:56 -07:00
Committer: Paul E. McKenney <>
CommitterDate: Mon, 10 May 2021 16:05:06 -07:00

torture: Set language to English

Some of the code invoked directly and indirectly from 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 <>
Signed-off-by: Paul E. McKenney <>
tools/testing/selftests/rcutorture/bin/ | 3 +++
1 file changed, 3 insertions(+)

diff --git a/tools/testing/selftests/rcutorture/bin/ b/tools/testing/selftests/rcutorture/bin/
index fab3bd9..390bb97 100755
--- a/tools/testing/selftests/rcutorture/bin/
+++ b/tools/testing/selftests/rcutorture/bin/
@@ -20,6 +20,9 @@ mkdir $T

cd `dirname $scriptname`/../../../../../

+# This script knows only English.
+LANG=en_US.UTF-8; export LANG
KVM="`pwd`/tools/testing/selftests/rcutorture"; export KVM
 \ /
  Last update: 2021-06-30 15:50    [W:0.031 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site