Re: [PATCH] selftests/timers/posix_timers: reimplement check_timer_distribution()

From: Thomas Gleixner
Date: Mon Apr 08 2024 - 06:01:19 EST


On Mon, Apr 08 2024 at 10:30, Dmitry Vyukov wrote:
> On Sat, 6 Apr 2024 at 17:12, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>> if (ctd_failed)
>> ksft_test_result_skip("No signal distribution. Assuming old kernel\n");
>
> Shouldn't the test fail here? The goal of a test is to fail when
> things don't work.
> I don't see any other ksft_test_result_fail() calls, and it does not
> look that the test will hang on incorrect distribution.

I have a fixup for older kernels. I'll get to Olegs patch and the fixup
later today.

Thanks,

tglx