{
    "path": "$OET_PATH/testcases/function_test/pkg_test/file/file",
    "machine num": 1,
    "cases": [
        {
            "name": "test_file_install_upgrade",
            "desc": "测试 file 软件包的升级功能，验证从旧版本升级到新版本后命令功能是否正常。",
            "machine num": 1
        },
        {
            "name": "test_file_install_downgrade",
            "desc": "测试 file 软件包的降级功能，验证从新版本降级到旧版本后命令功能是否正常。",
            "machine num": 1
        },
        {
            "name": "test_file_install_rollback",
            "desc": "测试 file 软件包的回滚功能，验证从新版本回滚到旧版本后命令功能是否正常。",
            "machine num": 1
        },
        {
            "name": "test_file_install_uninstall",
            "desc": "测试 file 软件包的卸载功能，验证卸载后相关命令是否不再可用。",
            "machine num": 1
        },
        {
            "name": "test_file_install_reinstall",
            "desc": "测试 file 软件包的重新安装功能，验证重新安装后命令功能是否正常。",
            "machine num": 1
        },
        {
            "name": "test_file_install_rollback_with_config",
            "desc": "测试 file 软件包的回滚功能，验证从新版本回滚到旧版本后配置文件是否保留且命令功能正常。",
            "machine num": 1
        },
        {
            "name": "test_file_install_upgrade_with_config",
            "desc": "测试 file 软件包的升级功能，验证从旧版本升级到新版本后配置文件是否保留且命令功能正常。",
            "machine num": 1
        },
        {
            "name": "test_file_file_z",
            "desc": "测试file命令尝试查看压缩文件内部"
        },
        {
            "name": "test_file_file_b",
            "desc": "测试file命令以简洁格式输出，不包含文件名前缀"
        },
        {
            "name": "test_file_file_upper_f",
            "desc": "测试file命令使用指定分隔符"
        },
        {
            "name": "test_file_file_extension",
            "desc": "测试file命令输出扩展名列表"
        },
        {
            "name": "test_file_file_mime_type",
            "desc": "测试file命令输出MIME类型"
        },
        {
            "name": "test_file_file_mime_encoding",
            "desc": "测试file命令输出MIME编码"
        },
        {
            "name": "test_file_file_k",
            "desc": "测试file命令持续匹配不停止"
        },
        {
            "name": "test_file_file_upper_l",
            "desc": "测试file命令遵循符号链接"
        },
        {
            "name": "test_file_file_h",
            "desc": "测试file命令不遵循符号链接"
        },
        {
            "name": "test_file_file_n",
            "desc": "测试file命令不缓冲输出"
        },
        {
            "name": "test_file_file_upper_n",
            "desc": "测试file命令不填充输出"
        },
        {
            "name": "test_file_file_p",
            "desc": "测试file命令保留文件的访问时间"
        },
        {
            "name": "test_file_file_upper_c",
            "desc": "测试file命令编译指定的魔法文件"
        },
        {
            "name": "test_file_file_d",
            "desc": "测试file命令打印调试信息"
        },
        {
            "name": "test_file_file_v_b",
            "desc": "测试file命令结合版本和简洁输出"
        },
        {
            "name": "test_file_function_mime_type",
            "desc": "测试file命令的-i选项，验证其能正确输出文件的MIME类型。"
        },
        {
            "name": "test_file_function_compressed",
            "desc": "测试file命令识别常见压缩文件类型（如gzip、zip）。"
        },
        {
            "name": "test_file_function_basic_install",
            "desc": "测试file软件包的基本安装功能，验证安装后file命令可用。"
        },
        {
            "name": "test_file_function_basic_usage",
            "desc": "测试file命令最基本功能，验证其能正确识别普通文本文件类型。"
        },
        {
            "name": "test_file_function_detect_archive",
            "desc": "测试file命令识别常见归档文件类型（如tar、cpio）。"
        },
        {
            "name": "test_file_function_option_i",
            "desc": "测试file命令的-i选项，验证其能正确输出文件的MIME类型。"
        },
        {
            "name": "test_file_function_option_b",
            "desc": "测试file命令的-b选项，验证其能以简洁格式（无文件名）输出。"
        },
        {
            "name": "test_file_function_option_upper_l",
            "desc": "测试file命令的-L选项，验证其能遵循符号链接进行文件类型检测。"
        },
        {
            "name": "test_file_function_option_z",
            "desc": "测试file命令的-z选项，验证其能尝试查看压缩文件内部。"
        },
        {
            "name": "test_file_function_option_upper_f",
            "desc": "测试file命令的-F选项，验证其能使用指定的分隔符输出。"
        },
        {
            "name": "test_file_file__help",
            "desc": "显示帮助信息"
        },
        {
            "name": "test_file_file__upper_v",
            "desc": "显示版本信息"
        },
        {
            "name": "test_file_file__upper_z",
            "desc": "只打印压缩文件内容"
        },
        {
            "name": "test_file_file__b",
            "desc": "不显示文件名"
        },
        {
            "name": "test_file_file__c",
            "desc": "打印magic文件的解析形式"
        },
        {
            "name": "test_file_file__f",
            "desc": "从文件读取要检测的文件名"
        },
        {
            "name": "test_file_file__upper_f",
            "desc": "使用指定的字符串作为分隔符"
        },
        {
            "name": "test_file_file__i",
            "desc": "输出MIME类型字符串"
        },
        {
            "name": "test_file_file__extension",
            "desc": "输出文件扩展名列表"
        },
        {
            "name": "test_file_file__mime_type",
            "desc": "输出MIME类型"
        },
        {
            "name": "test_file_file__mime_encoding",
            "desc": "输出MIME编码"
        },
        {
            "name": "test_file_file__h",
            "desc": "不跟随符号链接"
        },
        {
            "name": "test_file_file__num_0",
            "desc": "使用ASCII NUL作为文件名结束符"
        },
        {
            "name": "test_file_file__p",
            "desc": "保留文件的访问时间"
        },
        {
            "name": "test_file_file__s",
            "desc": "将特殊文件（块/字符设备）视为普通文件处理"
        },
        {
            "name": "test_file_file__no_buffer",
            "desc": "不要缓存输出，直接打印"
        },
        {
            "name": "test_file_file__print0",
            "desc": "使用ASCII NUL作为文件名结束符"
        },
        {
            "name": "test_file_function_install",
            "desc": "测试file软件包的基本安装，验证安装后命令可用。"
        },
        {
            "name": "test_file_function_basic_detect",
            "desc": "测试file命令最基本功能，正确识别普通文件类型。"
        },
        {
            "name": "test_file_function_mime_output",
            "desc": "测试file命令的-i选项，正确输出文件的MIME类型。"
        },
        {
            "name": "test_file_function_brief_output",
            "desc": "测试file命令的-b选项，以简洁格式（无文件名）输出。"
        },
        {
            "name": "test_file_function_symlink_follow",
            "desc": "测试file命令的-L选项，遵循符号链接进行检测。"
        },
        {
            "name": "test_file_function_compress_inside",
            "desc": "测试file命令的-z选项，尝试查看压缩文件内部。"
        },
        {
            "name": "test_file_function_help",
            "desc": "测试file命令的--help选项，显示帮助信息。"
        },
        {
            "name": "test_file_function_version",
            "desc": "测试file命令的--version选项，显示版本信息。"
        },
        {
            "name": "test_file_function_archive_detect",
            "desc": "测试file命令识别常见归档文件类型（如tar）。"
        },
        {
            "name": "test_file_file__v",
            "desc": "测试file命令的-v参数，输出版本信息"
        },
        {
            "name": "test_file_file__m",
            "desc": "测试file命令的-m参数，使用指定的magic文件"
        },
        {
            "name": "test_file_file__z",
            "desc": "测试file命令的-z参数，尝试查看压缩文件内部"
        },
        {
            "name": "test_file_file__l",
            "desc": "测试file命令的-l参数，列出magic强度"
        },
        {
            "name": "test_file_file__upper_l",
            "desc": "测试file命令的-L参数，跟随符号链接"
        },
        {
            "name": "test_file_file__n",
            "desc": "测试file命令的-n参数，不缓冲输出"
        },
        {
            "name": "test_file_file__upper_n",
            "desc": "测试file命令的-N参数，不填充输出"
        },
        {
            "name": "test_file_file__upper_s",
            "desc": "测试file命令的-S参数，禁用系统调用沙盒"
        },
        {
            "name": "test_file_file__d",
            "desc": "测试file命令的-d参数，打印调试信息"
        },
        {
            "name": "test_file_file__m__z",
            "desc": "测试file命令的-m和-z参数组合，使用指定magic文件并尝试查看压缩文件内部"
        },
        {
            "name": "test_file_file__b__i",
            "desc": "测试file命令的-b和-i参数组合，输出不包含文件名前缀的MIME类型"
        },
        {
            "name": "test_file_function_upgrade",
            "desc": "测试file软件包的升级，验证升级后命令功能正常。"
        },
        {
            "name": "test_file_file__e",
            "desc": "测试 file 命令排除特定文件类型测试"
        },
        {
            "name": "test_file_function_compressed_detect",
            "desc": "测试file命令识别常见压缩文件类型（如gzip）。"
        }
    ]
}