[lkml]   [2018]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 4.14 104/109] rcutorture/configinit: Fix build directory error message
4.14-stable review patch.  If anyone has any objections, please let me know.


From: SeongJae Park <>

[ Upstream commit 2adfa4210f8f35cdfb4e08318cc06b99752964c2 ]

The '' script checks the format of optional argument for the
build directory, printing an error message if the format is not valid.
However, the error message uses the wrong variable, indicating an empty
string even though the user entered a non-empty (but erroneous) string.
This commit fixes the script to use the correct variable.

Fixes: c87b9c601ac8 ("rcutorture: Add KVM-based test framework")

Signed-off-by: SeongJae Park <>
Signed-off-by: Paul E. McKenney <>
Signed-off-by: Sasha Levin <>
Signed-off-by: Greg Kroah-Hartman <>
tools/testing/selftests/rcutorture/bin/ | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/tools/testing/selftests/rcutorture/bin/
+++ b/tools/testing/selftests/rcutorture/bin/
@@ -51,7 +51,7 @@ then
mkdir $builddir
- echo Bad build directory: \"$builddir\"
+ echo Bad build directory: \"$buildloc\"
exit 2

 \ /
  Last update: 2018-03-16 17:30    [W:0.529 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site