mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-12 23:10: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> |
||
|---|---|---|
| .. | ||
| lib | ||
| diagnose_arch_performance.sh | ||
| diagnose_pacman_hook_stall.sh | ||
| fix_anki.sh | ||
| fix_arch_performance.sh | ||
| fix_bluetooth.sh | ||
| fix_controller.sh | ||
| fix_flutter_git_env.sh | ||
| fix_stepmania.sh | ||
| fix_systemctl.sh | ||
| fix_thorium.sh | ||
| fix_ubuntu_performance.sh | ||
| fix_virtualbox.sh | ||
| fix_waifu2x.sh | ||
| fix_yay_aur_database.sh | ||
| migrate_hosts_guard_to_guard_lib.sh | ||
| nvidia_troubleshoot.sh | ||
| optimize_arch_desktop.sh | ||