From: Glenn Washburn Date: Thu, 13 Nov 2025 03:10:40 +0000 (-0600) Subject: tests/erofs_test: Remove root check X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6aceba7fb69bce4967a6eb0b3cd627936089003;p=thirdparty%2Fgrub.git tests/erofs_test: Remove root check 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 Reviewed-by: Daniel Kiper Reviewed-by: Sudhakar Kuppusamy --- diff --git a/tests/erofs_test.in b/tests/erofs_test.in index e3f3ea5eb..f8cf3bb8b 100644 --- a/tests/erofs_test.in +++ b/tests/erofs_test.in @@ -2,14 +2,6 @@ set -ex -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 77