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 <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
This commit is contained in:
parent
0879ff7bc6
commit
b6aceba7fb
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user