From: Glenn Washburn Date: Thu, 14 Oct 2021 20:58:08 +0000 (-0500) Subject: tests: In partmap_test, use ${parted} variable when checking for binary X-Git-Tag: grub-2.12-rc1~537 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9d1c2601afc46d7165a52231d418d9db80717c3;p=thirdparty%2Fgrub.git tests: In partmap_test, use ${parted} variable when checking for binary Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- diff --git a/tests/partmap_test.in b/tests/partmap_test.in index bc2be78aa..a73c473b0 100644 --- a/tests/partmap_test.in +++ b/tests/partmap_test.in @@ -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