diff options
| author | 2026-05-07 20:51:06 +0800 | |
|---|---|---|
| committer | 2026-05-13 14:28:59 -0400 | |
| commit | 0bf1b4dda2d0c89980eab816778722cf51aa404c (patch) | |
| tree | 26410cd82d20b9d6dd7002dc491b37cabb60a2c8 /samples/kobject/ssh:/git@git.zx2c4.com/git: | |
| parent | RDMA/nldev: Add mutual exclusion in nldev_dellink() (diff) | |
selftests/rdma: explicitly skip tests when required modules are missing
Currently, the rdma rxe selftests fail with an exit code of 1 when
required kernel modules are not present. This causes spurious failures
in environments where these modules might not be compiled or available.
Include the standard kselftest 'ktap_helpers.sh' and replace the
hardcoded error exits with '$KSFT_SKIP'. This ensures the tests are
properly marked as skipped rather than failed.
Fixes: e01027cab38a ("RDMA/rxe: Add testcase for net namespace rxe")
Signed-off-by: Yi Lai <yi1.lai@intel.com>
Link: https://patch.msgid.link/20260507125106.3114167-1-yi1.lai@intel.com
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
