Re: [PATCH v2 3/6] selftests: livepatch: Introduce does_sysfs_exists function

From: Joe Lawrence

Date: Fri Apr 17 2026 - 14:19:21 EST


On Mon, Apr 13, 2026 at 02:26:14PM -0300, Marcos Paulo de Souza wrote:
> Return 1 if the livepatch sysfs attribute exists, and 0 otherwise. This
> new function will be used in the next patches.
>

Not true in v2 since the return code is now `[[ -f
"$SYSFS_KLP_DIR/$mod/$attr" ]]`

--
Joe