OSDN Git Service

rcutorture/configinit: Fix build directory error message
authorSeongJae Park <sj38.park@gmail.com>
Fri, 3 Nov 2017 10:17:20 +0000 (19:17 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 08:17:58 +0000 (09:17 +0100)
commit992cfe9506d42ed7deff2bd09fe522c97179240a
tree0dd55b3348de6bd8be1f11c465184e81eaaff652
parent283b46fcece41113f4b11cde33d86e336db4bde6
rcutorture/configinit: Fix build directory error message

[ Upstream commit 2adfa4210f8f35cdfb4e08318cc06b99752964c2 ]

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: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/rcutorture/bin/configinit.sh