| From foo@baz Fri Mar 16 15:43:17 CET 2018 |
| From: SeongJae Park <sj38.park@gmail.com> |
| Date: Fri, 3 Nov 2017 19:17:20 +0900 |
| Subject: rcutorture/configinit: Fix build directory error message |
| |
| From: SeongJae Park <sj38.park@gmail.com> |
| |
| |
| [ 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 | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- 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 |