grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] tests: In partmap_test, use ${parted} variable when checking


From: Glenn Washburn
Subject: [PATCH 2/2] tests: In partmap_test, use ${parted} variable when checking for binary
Date: Thu, 7 Oct 2021 16:07:32 -0500

Signed-off-by: Glenn Washburn <development@efficientek.com>
---
 tests/partmap_test.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/partmap_test.in b/tests/partmap_test.in
index 0dee5d4c3..43912a608 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
 
-- 
2.27.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]