From b6aceba7fb69bce4967a6eb0b3cd627936089003 Mon Sep 17 00:00:00 2001 From: Glenn Washburn Date: Wed, 12 Nov 2025 21:10:40 -0600 Subject: [PATCH] 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 --- tests/erofs_test.in | 8 -------- 1 file changed, 8 deletions(-) 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