]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
tests: In partmap_test, use ${parted} variable when checking for binary
authorGlenn Washburn <development@efficientek.com>
Thu, 14 Oct 2021 20:58:08 +0000 (15:58 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 25 Oct 2021 14:23:34 +0000 (16:23 +0200)
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/partmap_test.in

index bc2be78aa299df603b99dc447ff3ec5485ecd0c5..a73c473b0978d5b67749d9669e4ad35cfe90e7d7 100644 (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