Re: [PATCH blktests v2 1/2] common/null_blk: introduce _have_null_blk_feature

Chaitanya Kulkarni
2024-01-09T19:21:00Z

On 1/9/24 02:44, Shin'ichiro Kawasaki wrote:
> Introduce a helper function _have_null_blk_feature which checks
> /sys/kernel/config/features. It allows test cases to adapt to null_blk
> feature support status.
>
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
> ---
>

much needed helper for a driver since features can change
across the release of kernel for validation can also be used
to skip certain tests ...

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>

-ck