From: Glenn Washburn <development@efficientek.com>
To: grub-devel@gnu.org
Cc: Daniel Kiper <dkiper@net-space.pl>,
Leo Sandoval <lsandova@redhat.com>,
Andrew Hamilton <adhamilt@gmail.com>,
Glenn Washburn <development@efficientek.com>
Subject: [PATCH 2/4] tests/erofs_test: Remove root check
Date: Sat, 8 Nov 2025 21:20:08 -0600 [thread overview]
Message-ID: <65b29ffdf72a6123ed8ef12f0703592cc3205f54.1762657969.git.development@efficientek.com> (raw)
In-Reply-To: <cover.1762657969.git.development@efficientek.com>
The erofs tests do not ever mount the generated erofs image. So root is
not needed, as with the squashfs and iso9660 filesystems.
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
tests/erofs_test.in | 8 --------
1 file changed, 8 deletions(-)
diff --git a/tests/erofs_test.in b/tests/erofs_test.in
index 51111627acec..5b7678b1e234 100644
--- a/tests/erofs_test.in
+++ b/tests/erofs_test.in
@@ -2,14 +2,6 @@
set -e
-if [ "x$EUID" = "x" ] ; then
- EUID=`id -u`
-fi
-
-if [ "$EUID" != 0 ] ; then
- exit 99
-fi
-
if ! which mkfs.erofs >/dev/null 2>&1; then
echo "mkfs.erofs not installed; cannot test erofs."
exit 99
--
2.34.1
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
next prev parent reply other threads:[~2025-11-09 3:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-09 3:20 [PATCH 0/4] EROFS test fixes and improvements Glenn Washburn
2025-11-09 3:20 ` [PATCH 1/4] tests/erofs_test: Only test and set labels if supported by erofs-utils Glenn Washburn
2025-11-09 3:20 ` Glenn Washburn [this message]
2025-11-09 3:20 ` [PATCH 3/4] tests/erofs_test: Disable filetime check for erofs_compact Glenn Washburn
2025-11-09 3:20 ` [PATCH 4/4] tests/erofs_test: Improve accuracy of FSTIME check 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=65b29ffdf72a6123ed8ef12f0703592cc3205f54.1762657969.git.development@efficientek.com \
--to=development@efficientek.com \
--cc=adhamilt@gmail.com \
--cc=dkiper@net-space.pl \
--cc=grub-devel@gnu.org \
--cc=lsandova@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).