summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSeongJae Park <sj38.park@gmail.com>2017-11-03 19:17:20 +0900
committerBen Hutchings <ben@decadent.org.uk>2018-06-16 22:21:43 +0100
commite37697909a059d36c8d411019017e629e8cd56cc (patch)
treef1d8705aaf0c384b34c74347095f6320aa542f0b /tools
parent34e745ff38da718dd616ad7822e12d527245b429 (diff)
downloadlinux-stable-e37697909a059d36c8d411019017e629e8cd56cc.tar.gz
linux-stable-e37697909a059d36c8d411019017e629e8cd56cc.tar.bz2
linux-stable-e37697909a059d36c8d411019017e629e8cd56cc.zip
rcutorture/configinit: Fix build directory error message
commit 2adfa4210f8f35cdfb4e08318cc06b99752964c2 upstream. The 'configinit.sh' 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 <sj38.park@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/rcutorture/bin/configinit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/configinit.sh b/tools/testing/selftests/rcutorture/bin/configinit.sh
index 9c3f3d39b934..bbe35e27f992 100755
--- a/tools/testing/selftests/rcutorture/bin/configinit.sh
+++ b/tools/testing/selftests/rcutorture/bin/configinit.sh
@@ -51,7 +51,7 @@ then
mkdir $builddir
fi
else
- echo Bad build directory: \"$builddir\"
+ echo Bad build directory: \"$buildloc\"
exit 2
fi
fi