Files
2025-07-23 20:41:13 +08:00

19 lines
732 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 脚本简介
本脚本用于测试updates仓库中是否有黑名单列表中的软件包。
如果有,列出导出的黑名单软件包
如果没有,则表示测试通过
## 使用方法
执行脚本python3 check_black_rpms_in_repos.py V10SP1.1 V10SP2
参数V10SP1.1 V10SP2为测试的产品列表可以有多个如果没有参数默认测试所有产品
参数的值有:'V10SP1.1', 'V10SP2', 'V10SP3', 'V10SP3-2403', 'V10-HPC', 'V10-ZJ', 'HOST', 'HOST-2309', 'HOST-2406', 'V10SP3-2309A', 'V10SP3-2309B'
## 输出:
测试结果为输出字符串
测试通过:说明无黑名单软件包导出到仓库
测试有报错:说明有黑名单软件包导出到仓库
# 注意事项