diff options
| author | Leon Hwang <[email protected]> | 2025-09-10 12:57:40 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-09-10 19:34:09 +0000 |
| commit | fbdd61c94bcb09b0c0eb0655917bf4193d07aac1 (patch) | |
| tree | 0bfc9adba37a9dbaabd25dca559e320a729117a6 /fs/xfs/xfs_zone_alloc.c | |
| parent | bpf: Reject bpf_timer for PREEMPT_RT (diff) | |
| download | kernel-fbdd61c94bcb09b0c0eb0655917bf4193d07aac1.tar.gz kernel-fbdd61c94bcb09b0c0eb0655917bf4193d07aac1.zip | |
selftests/bpf: Skip timer cases when bpf_timer is not supported
When enable CONFIG_PREEMPT_RT, verifier will reject bpf_timer with
returning -EOPNOTSUPP.
Therefore, skip test cases when errno is EOPNOTSUPP.
cd tools/testing/selftests/bpf
./test_progs -t timer
125 free_timer:SKIP
456 timer:SKIP
457/1 timer_crash/array:SKIP
457/2 timer_crash/hash:SKIP
457 timer_crash:SKIP
458 timer_lockup:SKIP
459 timer_mim:SKIP
Summary: 5/0 PASSED, 6 SKIPPED, 0 FAILED
Signed-off-by: Leon Hwang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_zone_alloc.c')
0 files changed, 0 insertions, 0 deletions
