Unverified Commit 70619d40 authored by Christian Brauner's avatar Christian Brauner
Browse files

selftests/kernfs: test xattr retrieval

Make sure that listxattr() returns zero and that getxattr() returns
ENODATA when no extended attributs are set. Use /sys/kernel/warn_count
as that always exists and is a read-only file.

Link: https://lore.kernel.org/20250702-hochmoderne-abklatsch-af9c605b57b2@brauner


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 05a03931
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment