Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rcutorture/configinit: Fix build directory error message

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>

authored by

SeongJae Park and committed by
Paul E. McKenney
2adfa421 e8302739

+1 -1
+1 -1
tools/testing/selftests/rcutorture/bin/configinit.sh
··· 51 51 mkdir $builddir 52 52 fi 53 53 else 54 - echo Bad build directory: \"$builddir\" 54 + echo Bad build directory: \"$buildloc\" 55 55 exit 2 56 56 fi 57 57 fi