@@ -16,9 +16,11 @@ group_requires() {
# Since the nvmeof-mp tests are based on the dm-mpath driver, these
# tests are incompatible with the NVME_MULTIPATH kernel configuration
- # option.
- if _have_kernel_option NVME_MULTIPATH; then
- SKIP_REASON="CONFIG_NVME_MULTIPATH has been set in .config"
+ # option with multipathing enabled in the nvme_core kernel module.
+ if _have_kernel_option NVME_MULTIPATH && \
+ _have_module_param_value nvme_core multipath Y; then
+ SKIP_REASON="CONFIG_NVME_MULTIPATH has been set in .config \
+and multipathing has been enabled in the nvme_core kernel module"
return
fi