mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-12 20:30:53 +01:00
57/57 lines, measured through run_all.sh and confirmed a second time at --min 100 so a shortfall would exit non-zero. check_shell_coverage.sh passes with the exemption removed. 28 assertions over 14 cases: no cpufreq at all, every core already tuned, the mixed case where only some cores lag, cpupower absent / unconfigured / already configured, and all three I/O scheduler targets (none for NVMe, mq-deadline for SATA SSD, bfq for spinning disks). The sysfs reads and the two /etc write targets are now behind overrides defaulting to the real paths, so the tests can present hardware this host does not have -- a rotational disk -- without touching anything. One assertion initially passed for the wrong reason: _t_hide keeps $FAKE_BIN on PATH by design, so the harness's own cpupower stub still satisfied has_cmd and the "not installed" branch never ran. Unstubbing before hiding is now explicit, and the case fails if that is lost. This also settles arch_sysctl.sh's diagnosis: it uses this same harness, so the harness is not why it cannot be measured. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| tests | ||
| arch_cpu.sh | ||
| arch_hardware.sh | ||
| arch_perf_fixes.sh | ||
| arch_perf_probes.sh | ||
| arch_perf_report.sh | ||
| arch_sysctl.sh | ||
| bt_adapter.sh | ||
| bt_audio.sh | ||
| bt_pairing.sh | ||
| bt_report.sh | ||
| hosts_guard_migrate.sh | ||
| hosts_guard_rollback.sh | ||
| nvidia_config.sh | ||
| pacman_hook_stall_capture.sh | ||
| pacman_hook_stall_load.sh | ||
| pacman_hook_stall_setup.sh | ||
| pacman_hook_stall_summary.sh | ||
| pacman_hook_stall_usage.sh | ||
| pacman_hook_stall_watch.sh | ||
| thorium_repairs.sh | ||
| ubuntu_perf_fixes.sh | ||
| ubuntu_perf_more.sh | ||