linux/tools/testing/selftests/sched_ext
Tejun Heo ce2b93fc1d sched_ext: Fix dsq_local_on selftest
The dsp_local_on selftest expects the scheduler to fail by trying to
schedule an e.g. CPU-affine task to the wrong CPU. However, this isn't
guaranteed to happen in the 1 second window that the test is running.
Besides, it's odd to have this particular exception path tested when there
are no other tests that verify that the interface is working at all - e.g.
the test would pass if dsp_local_on interface is completely broken and fails
on any attempt.

Flip the test so that it verifies that the feature works. While at it, fix a
typo in the info message.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Ihor Solodrai <ihor.solodrai@pm.me>
Link: http://lkml.kernel.org/r/Z1n9v7Z6iNJ-wKmq@slm.duckdns.org
Signed-off-by: Tejun Heo <tj@kernel.org>
2024-12-24 14:09:50 -10:00
..
.gitignore
config
create_dsq.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
create_dsq.c
ddsp_bogus_dsq_fail.bpf.c selftests/sched_ext: fix build after renames in sched_ext API 2024-12-04 09:46:39 -10:00
ddsp_bogus_dsq_fail.c
ddsp_vtimelocal_fail.bpf.c selftests/sched_ext: fix build after renames in sched_ext API 2024-12-04 09:46:39 -10:00
ddsp_vtimelocal_fail.c
dsp_local_on.bpf.c sched_ext: Fix dsq_local_on selftest 2024-12-24 14:09:50 -10:00
dsp_local_on.c sched_ext: Fix dsq_local_on selftest 2024-12-24 14:09:50 -10:00
enq_last_no_enq_fails.bpf.c sched_ext: Fix enq_last_no_enq_fails selftest 2024-10-25 12:20:29 -10:00
enq_last_no_enq_fails.c sched_ext: Fix enq_last_no_enq_fails selftest 2024-10-25 12:20:29 -10:00
enq_select_cpu_fails.bpf.c selftests/sched_ext: fix build after renames in sched_ext API 2024-12-04 09:46:39 -10:00
enq_select_cpu_fails.c
exit.bpf.c selftests/sched_ext: fix build after renames in sched_ext API 2024-12-04 09:46:39 -10:00
exit.c
exit_test.h
hotplug.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
hotplug.c
hotplug_test.h
init_enable_count.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
init_enable_count.c
Makefile selftests/sched_ext: add order-only dependency of runner.o on BPFOBJ 2024-10-23 08:56:32 -10:00
maximal.bpf.c scx: Fix maximal BPF selftest prog 2024-12-10 20:30:50 -10:00
maximal.c
maybe_null.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
maybe_null.c
maybe_null_fail_dsp.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
maybe_null_fail_yld.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
minimal.bpf.c
minimal.c
prog_run.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
prog_run.c
reload_loop.c
runner.c
scx_test.h
select_cpu_dfl.bpf.c selftests/sched_ext: fix build after renames in sched_ext API 2024-12-04 09:46:39 -10:00
select_cpu_dfl.c
select_cpu_dfl_nodispatch.bpf.c selftests/sched_ext: fix build after renames in sched_ext API 2024-12-04 09:46:39 -10:00
select_cpu_dfl_nodispatch.c
select_cpu_dispatch.bpf.c selftests/sched_ext: fix build after renames in sched_ext API 2024-12-04 09:46:39 -10:00
select_cpu_dispatch.c
select_cpu_dispatch_bad_dsq.bpf.c selftests/sched_ext: fix build after renames in sched_ext API 2024-12-04 09:46:39 -10:00
select_cpu_dispatch_bad_dsq.c
select_cpu_dispatch_dbl_dsp.bpf.c selftests/sched_ext: fix build after renames in sched_ext API 2024-12-04 09:46:39 -10:00
select_cpu_dispatch_dbl_dsp.c
select_cpu_vtime.bpf.c selftests/sched_ext: fix build after renames in sched_ext API 2024-12-04 09:46:39 -10:00
select_cpu_vtime.c
test_example.c
util.c
util.h