{
    "path": "$OET_PATH/testcases/function_test/pkg_test/grub2/grub2-tools-minimal",
    "machine num": 1,
    "cases": [
        {
            "name": "test_grub2-tools-minimal_grub2-editenv__help",
            "desc": "测试 grub2-editenv 显示帮助信息的功能。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv__upper_v",
            "desc": "测试 grub2-editenv 显示程序版本信息的功能。"
        },
        {
            "name": "test_grub2-tools-minimal_function_present",
            "desc": "验证 grub2-tools-minimal 软件包是否存在于系统中。"
        },
        {
            "name": "test_grub2-tools-minimal_function_install",
            "desc": "验证 grub2-tools-minimal 软件包可以成功安装。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv__usage",
            "desc": "测试显示简短用法信息"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv__v",
            "desc": "测试启用详细输出模式"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv_list",
            "desc": "测试列出当前环境变量"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv__v_create",
            "desc": "测试在详细模式下创建环境块文件"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv__v_list",
            "desc": "测试在详细模式下列出环境变量"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_c",
            "desc": "测试使用-c参数指定PBKDF2迭代次数"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mount_upper_c",
            "desc": "测试使用-C参数挂载加密设备"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv_set",
            "desc": "测试设置变量的功能"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mount_upper_k_file",
            "desc": "测试使用-K参数从文件加载ZFS加密密钥"
        },
        {
            "name": "test_grub2-tools-minimal_function_list",
            "desc": "验证 grub2-tools-minimal 软件包提供的所有二进制工具文件是否存在。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv_help",
            "desc": "测试grub2-editenv命令的帮助选项"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv_usage",
            "desc": "测试grub2-editenv命令的用法选项"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv_v",
            "desc": "测试grub2-editenv命令的详细输出选项"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv_upper_v",
            "desc": "测试grub2-editenv命令的版本信息选项"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv_create",
            "desc": "测试grub2-editenv命令创建空白环境块文件的功能"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv_incr",
            "desc": "测试grub2-editenv命令增加整数变量值的功能"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv_unset",
            "desc": "测试grub2-editenv命令删除变量的功能"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-editenv_filename_dash",
            "desc": "测试grub2-editenv命令使用默认文件路径（-）的功能"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_no_args",
            "desc": "测试不带任何参数执行命令，预期应提示输入密码或显示帮助信息。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_help",
            "desc": "测试使用--help参数，预期显示完整的帮助信息。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_usage",
            "desc": "测试使用--usage参数，预期显示简短的使用方法。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_upper_v",
            "desc": "测试使用-V或--version参数，预期显示程序版本信息。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_l",
            "desc": "测试使用-l参数指定生成哈希值的长度。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_s",
            "desc": "测试使用-s参数指定盐值的长度。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_a",
            "desc": "测试使用-a参数指定预设的盐值变量（十六进制编码）。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_c_s",
            "desc": "测试同时使用-c和-s参数，指定迭代次数和盐值长度。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_c_l",
            "desc": "测试同时使用-c和-l参数，指定迭代次数和哈希值长度。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_s_l",
            "desc": "测试同时使用-s和-l参数，指定盐值长度和哈希值长度。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_a_c",
            "desc": "测试同时使用-a和-c参数，指定预设盐值和迭代次数。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_c_s_l",
            "desc": "测试同时使用-c、-s和-l参数，指定迭代次数、盐值长度和哈希值长度。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mkpasswd-pbkdf2_a_s_l",
            "desc": "测试同时使用-a、-s和-l参数，指定预设盐值、盐值长度和哈希值长度。"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mount__upper_c",
            "desc": "测试使用-C参数挂载加密设备"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mount__d",
            "desc": "测试使用-d参数设置调试环境变量"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mount__upper_k",
            "desc": "测试使用-K参数加载ZFS加密密钥文件或提示输入"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mount__r",
            "desc": "测试使用-r参数设置根设备"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mount__v",
            "desc": "测试使用-v参数打印详细信息"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mount_usage",
            "desc": "测试使用--usage参数显示简短用法信息"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mount__upper_v",
            "desc": "测试使用-V参数打印程序版本信息"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mount__upper_c__v",
            "desc": "测试组合使用-C和-v参数挂载加密设备并打印详细信息"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mount__r__d",
            "desc": "测试组合使用-r和-d参数设置根设备并调试"
        },
        {
            "name": "test_grub2-tools-minimal_grub2-mount__upper_k__upper_c",
            "desc": "测试组合使用-K和-C参数加载ZFS密钥并挂载加密设备"
        },
        {
            "name": "test_grub2-tools-minimal_function_remove",
            "desc": "验证软件包可以成功卸载。"
        },
        {
            "name": "test_grub2-tools-minimal_function_grub2-editenv",
            "desc": "测试grub2-editenv基本环境变量操作。"
        },
        {
            "name": "test_grub2-tools-minimal_function_grub2-mkpasswd",
            "desc": "测试grub2-mkpasswd-pbkdf2生成密码哈希。"
        },
        {
            "name": "test_grub2-tools-minimal_function_grub2-mount",
            "desc": "测试grub2-mount基本挂载功能。"
        }
    ]
}