Commit f13df2ed authored by SeongJae Park's avatar SeongJae Park Committed by Stefan Bader

rcutorture/configinit: Fix build directory error message

BugLink: http://bugs.launchpad.net/bugs/1764666

[ Upstream commit 2adfa421 ]

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: c87b9c60 ("rcutorture: Add KVM-based test framework")
Signed-off-by: default avatarSeongJae Park <sj38.park@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarJuerg Haefliger <juergh@canonical.com>
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
parent 43a72dde
......@@ -51,7 +51,7 @@ then
mkdir $builddir
fi
else
echo Bad build directory: \"$builddir\"
echo Bad build directory: \"$buildloc\"
exit 2
fi
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment