[PATCH blktests 1/2] common/nvme: introduce _have_nvme_cli_with_json_support()
Chaitanya Kulkarni
chaitanyak at nvidia.com
Tue May 20 12:18:08 PDT 2025
On 5/19/25 23:18, Shin'ichiro Kawasaki wrote:
> To check if the nvme command supports json output format, introduce the
> helper function _have_nvme_cli_with_json_support(), which verifies the
> option "--output-format=" works. While at it, replace the short option
> "-o" in _nvme_connect_subsys() with the long option "--output-format=".
>
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki at wdc.com>
> ---
>
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
-ck
More information about the Linux-nvme
mailing list