{
    "path": "$OET_PATH/testcases/function_test/pkg_test/hsak/hsak-tools",
    "machine num": 1,
    "cases": [
        {
            "name": "test_hsak-tools_libstorage-iostat_no_args",
            "desc": "测试不带任何参数运行libstorage-iostat命令"
        },
        {
            "name": "test_hsak-tools_libstorage-iostat_upper_v",
            "desc": "测试使用-V参数显示libstorage-iostat命令的版本信息"
        },
        {
            "name": "test_hsak-tools_libstorage-iostat_v",
            "desc": "测试使用-v参数显示libstorage-iostat命令的详细信息"
        },
        {
            "name": "test_hsak-tools_libstorage-iostat_upper_h",
            "desc": "测试使用-H参数显示libstorage-iostat命令的帮助信息"
        },
        {
            "name": "test_hsak-tools_libstorage-iostat_upper_d",
            "desc": "测试使用-D参数以守护进程模式运行libstorage-iostat命令"
        },
        {
            "name": "test_hsak-tools_libstorage-iostat_upper_p",
            "desc": "测试使用-P参数指定性能计数器文件路径"
        },
        {
            "name": "test_hsak-tools_libstorage-iostat_num_1",
            "desc": "测试使用-1参数设置采样间隔为1秒"
        },
        {
            "name": "test_hsak-tools_libstorage-iostat_num_5",
            "desc": "测试使用-5参数设置采样间隔为5秒"
        },
        {
            "name": "test_hsak-tools_libstorage-iostat_num_10",
            "desc": "测试使用-10参数设置采样间隔为10秒"
        },
        {
            "name": "test_hsak-tools_libstorage-iostat-enable_disable",
            "desc": "禁用所有NVMe设备在IO过程中的iostat统计"
        },
        {
            "name": "test_hsak-tools_libstorage-iostat-enable_enable",
            "desc": "启用所有NVMe设备在IO过程中的iostat统计"
        },
        {
            "name": "test_hsak-tools_libstorage-iostat-enable_status",
            "desc": "查询所有NVMe设备iostat的启用状态"
        },
        {
            "name": "test_hsak-tools_libstorage-list_help",
            "desc": "验证libstorage-list命令的--help参数，检查帮助信息是否正确显示"
        },
        {
            "name": "test_hsak-tools_libstorage-list_error_device_information",
            "desc": "验证libstorage-list命令的错误设备信息参数，检查命令对错误输入（如0000:08:00.0）的处理"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device",
            "desc": "测试libstorage-rw read命令，使用默认参数读取指定设备"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device",
            "desc": "测试libstorage-rw write命令，使用默认参数写入指定设备"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_s_start-block_num_1",
            "desc": "测试libstorage-rw read命令，使用--start-block参数指定起始逻辑块"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_s_start-block_num_1",
            "desc": "测试libstorage-rw write命令，使用--start-block参数指定起始逻辑块"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_c_block-count_num_1",
            "desc": "测试libstorage-rw read命令，使用--block-count参数指定访问的逻辑块数量"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_c_block-count_num_1",
            "desc": "测试libstorage-rw write命令，使用--block-count参数指定访问的逻辑块数量"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_z_data-size_num_512",
            "desc": "测试libstorage-rw read命令，使用--data-size参数指定数据大小"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_z_data-size_num_512",
            "desc": "测试libstorage-rw write命令，使用--data-size参数指定数据大小"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_n_namespace-id_num_1",
            "desc": "测试libstorage-rw read命令，使用--namespace-id参数指定命名空间ID"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_n_namespace-id_num_1",
            "desc": "测试libstorage-rw write命令，使用--namespace-id参数指定命名空间ID"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_d_data_file",
            "desc": "测试libstorage-rw read命令，使用--data参数指定读取数据到文件"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_d_data_file",
            "desc": "测试libstorage-rw write命令，使用--data参数指定从文件写入数据"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_l",
            "desc": "测试libstorage-rw read命令，使用--limited-retry参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_l",
            "desc": "测试libstorage-rw write命令，使用--limited-retry参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_f",
            "desc": "测试libstorage-rw read命令，使用--force-unit-access参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_f",
            "desc": "测试libstorage-rw write命令，使用--force-unit-access参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_v",
            "desc": "测试libstorage-rw read命令，使用--show-command参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_v",
            "desc": "测试libstorage-rw write命令，使用--show-command参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_w",
            "desc": "测试libstorage-rw read命令，使用--dry-run参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_w",
            "desc": "测试libstorage-rw write命令，使用--dry-run参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_t",
            "desc": "测试libstorage-rw read命令，使用--latency参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_t",
            "desc": "测试libstorage-rw write命令，使用--latency参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_h",
            "desc": "测试libstorage-rw read命令，使用--help参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_h",
            "desc": "测试libstorage-rw write命令，使用--help参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_s_start-block_num_1_c_block-count_num_1_z_data-size_num_512",
            "desc": "测试libstorage-rw read命令，组合使用--start-block、--block-count和--data-size参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_s_start-block_num_1_c_block-count_num_1_z_data-size_num_512_d_data_file",
            "desc": "测试libstorage-rw write命令，组合使用--start-block、--block-count、--data-size和--data参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_s_start-block_num_1_n_namespace-id_num_1_l_f",
            "desc": "测试libstorage-rw read命令，组合使用--start-block、--namespace-id、--limited-retry和--force-unit-access参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_s_start-block_num_1_n_namespace-id_num_1_l_f_d_data_file",
            "desc": "测试libstorage-rw write命令，组合使用--start-block、--namespace-id、--limited-retry、--force-unit-access和--data参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_read_device_v_w",
            "desc": "测试libstorage-rw read命令，组合使用--show-command和--dry-run参数"
        },
        {
            "name": "test_hsak-tools_libstorage-rw_write_device_v_w_t",
            "desc": "测试libstorage-rw write命令，组合使用--show-command、--dry-run和--latency参数"
        },
        {
            "name": "test_hsak-tools_function_install",
            "desc": "测试软件包hsak-tools的安装功能"
        },
        {
            "name": "test_hsak-tools_function_remove",
            "desc": "测试软件包hsak-tools的卸载功能"
        },
        {
            "name": "test_hsak-tools_function_check",
            "desc": "检查软件包hsak-tools是否已正确安装"
        },
        {
            "name": "test_hsak-tools_function_version",
            "desc": "测试获取软件包hsak-tools的版本信息"
        },
        {
            "name": "test_hsak-tools_function_help",
            "desc": "测试软件包hsak-tools所有主要命令的帮助信息"
        },
        {
            "name": "test_hsak-tools_function_devlist",
            "desc": "测试使用libstorage-list命令列出所有存储设备"
        }
    ]
}