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:
Glenn Washburn authored and Daniel Kiper committed 2021-10-25 16:23:34 +02:00
1 parent a21618c8a9
commit f9d1c2601a
1 file changed
+2 -2
+2 -2
View File
@@ -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