On Fri, Aug 21, 2026 at 03:15:51PM +0100, Muhammad Usama Anjum wrote:

> +static bool merge_across_nodes_available(void)
> +{
> +     const char *path = PATH_KSM "merge_across_nodes";
> +
> +     if (!access(path, R_OK | W_OK))
> +             return true;
> +     if (errno == ENOENT)
> +             return false;
> +
> +     ksft_exit_fail_msg("Unable to read and write %s: %s\n", path,
> +                        strerror(errno));
> +}

If prerequistites for the test aren't available I'd expect this to be a
skip rather than a fail.

Attachment: signature.asc
Description: PGP signature

Reply via email to