21 Commits

Author SHA1 Message Date
honghua f01ebe16dd feat: add default hardware-require to all test suites and environment-file to all plans 2026-07-09 16:45:20 +08:00
honghua e2e680831c fix: add executable permission bit for all 3963 .sh test scripts
All .sh files under tests/ lacked the Git executable permission bit
(100644 instead of 100755), causing tmt run to fail with 'permission
denied' errors on Linux servers.

Fixes: woqidaideshi/openruyi-autotest#80
2026-07-06 14:36:45 +08:00
honghua 0d1d5858fe refactor: move openscap standalone tests into basic/ subdirectory (4 cases) 2026-07-01 16:51:27 +08:00
honghua e0a4a87fc1 refactor: merge cis_benchmark into openscap/cis with independent test cases (3 cases) 2026-07-01 16:38:48 +08:00
honghua 67947dda4f feat: add security/cis_benchmark tests (5 cases: profile_list, eval, result_count, fail_list, fix_generate) 2026-07-01 16:30:03 +08:00
honghua c9264775a6 feat: add security/openscap compliance tests (4 cases: info, eval, fix, report) 2026-07-01 16:20:23 +08:00
honghua 1a6b07c32d fix: guard rlTestSkip with type check for non-tmt environments 2026-06-30 17:03:13 +08:00
honghua f9a03e46c0 fix: set PATH before checking kirk after dnf install (LTP 20260130 in repo) 2026-06-30 16:57:56 +08:00
honghua 0d6fccc6bd fix: use sudo to create /opt/ltp before git clone (permission denied for non-root) 2026-06-30 15:57:43 +08:00
honghua 475b518df0 fix: detect incomplete LTP build (runltp stub without kirk), force reinstall 2026-06-30 15:50:39 +08:00
honghua 1e3d80ecdc fix: remove duplicate functional/ltp/cve, optimize security/cve with unified LTP 20260529 install 2026-06-30 14:21:16 +08:00
honghua 815bf4478f fix: add execute permission to all test.sh files 2026-06-25 17:31:11 +08:00
honghua 0d9c80f5ed refactor: convert security tests to beakerlib per-case subdirectory structure
- 8 nmap tests to test_nmap_*/ subdirectories with beakerlib lifecycle

- 98 CVE tests to test_cve-*/ subdirectories, each calling runltp

- 2 lib.sh with flag-file + reference counting (nmap + LTP)

- Remove old setup.sh/teardown.sh/run_all.sh

- Update nmap/cve/security main.fmf to beakerlib format
2026-06-22 12:31:10 +08:00
honghua 63cfacf401 refactor: optimize CVE tests to runltp format — 74/98 PASS (up from 38), 0 FAIL 2026-06-15 18:13:26 +08:00
honghua ee196d37ef docs: add CVE security test results — 98 cases verified on server (38P/7F/47S/6T) 2026-06-15 16:45:47 +08:00
honghua 74c572db1e feat: add LTP CVE test suite — 98 test cases from linux-test-project cve runtest 2026-06-15 14:39:02 +08:00
honghua 1d9cbb5e69 fix: simplify nmap service/NSE/SSL tests — detect open ports first, no hardcoded || true 2026-06-14 16:06:18 +08:00
honghua b551179c6c fix: start real services (nginx/sshd) for nmap service/NSE/SSL tests, remove || true workarounds 2026-06-14 15:58:19 +08:00
honghua bc25331f9c refactor: restructure security tests — split nmap into 8 test_{tool}_{name}.sh case files 2026-06-14 15:31:42 +08:00
honghua d49cca269e feat: add nmap security test suite — 8 cases covering port scan, service detection, OS fingerprint, NSE scripts, firewall evasion, network discovery, SSL/TLS analysis, output formats 2026-06-14 14:22:28 +08:00
honghua c903fee8a8 refactor: 按6大测试分类重构测试框架结构
- 按冒烟/功能/安全/兼容性/性能/可靠性分类重组 tests/ 目录
- 新增安全测试(security)、兼容性测试(compatibility)、性能测试(performance)、可靠性测试(reliability)
- 移除 example 示例目录
- 新增对应测试计划 plans/{security,compatibility,performance,reliability}.fmf
- 更新 tests/main.fmf 添加 tier 分级说明
- 同步更新 README.md 目录结构和标签体系
2026-06-08 17:29:12 +08:00