mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
tests: In partmap_test, use ${parted} variable when checking for binary
Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
a21618c8a9
commit
f9d1c2601a
1 file changed
+2
-2
@@ -96,8 +96,8 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
|
||||
;;
|
||||
esac
|
||||
|
||||
if ! which parted >/dev/null 2>&1; then
|
||||
echo "parted not installed; cannot test partmap"
|
||||
if ! which ${parted} >/dev/null 2>&1; then
|
||||
echo "${parted} not installed; cannot test partmap"
|
||||
exit 99
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user