From: Glenn Washburn <development@efficientek.com>
To: grub-devel@gnu.org, Daniel Kiper <daniel.kiper@oracle.com>
Cc: Glenn Washburn <development@efficientek.com>
Subject: [PATCH 2/2] tests: In partmap_test, use ${parted} variable when checking for binary
Date: Thu, 7 Oct 2021 16:07:32 -0500 [thread overview]
Message-ID: <20211007210732.160226-3-development@efficientek.com> (raw)
In-Reply-To: <20211007210732.160226-1-development@efficientek.com>
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
next prev parent reply other threads:[~2021-10-07 21:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-07 21:07 [PATCH 0/2] More test fixes Glenn Washburn
2021-10-07 21:07 ` [PATCH 1/2] tests: Test aborts due to missing requirements should be marked as error instead of skipped Glenn Washburn
2021-10-07 21:07 ` Glenn Washburn [this message]
2021-10-11 14:44 ` [PATCH 0/2] More test fixes Daniel Kiper
2021-10-14 18:36 ` Daniel Kiper
2021-10-14 21:01 ` Glenn Washburn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211007210732.160226-3-development@efficientek.com \
--to=development@efficientek.com \
--cc=daniel.kiper@oracle.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.