On Fri, Jan 30, 2026 at 1:12 AM Sun Jian <[email protected]> wrote:
>
> @@ -88,6 +119,13 @@ void test_deny_namespace(void)
>         if (!ASSERT_OK_PTR(skel, "skel load"))
>                 goto close_prog;
>
> +       if (!bpf_lsm_enabled()) {
> +               printf("%s:SKIP:bpf LSM not enabled (boot with 
> lsm=...,bpf)\n",
> +                      __func__);
> +               test__skip();
> +               goto close_prog;
> +       }

There are lots of bpf-lsm selftests.
You're trying to skip one. What's the point?
Pls use test_progs -d or -b to skip the tests in your step.

pw-bot: cr

Reply via email to