mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-12 21:30:52 +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> |
||
|---|---|---|
| .. | ||
| arch_desktop_harness.sh | ||
| arch_perf_harness.sh | ||
| bt_harness.sh | ||
| lib_test_core.sh | ||
| pacman_hook_stall_entry_harness.sh | ||
| pacman_hook_stall_harness.sh | ||
| run_all.sh | ||
| test_arch_cpu.sh | ||
| test_arch_perf_fixes.sh | ||
| test_arch_perf_probes_health.sh | ||
| test_arch_perf_probes.sh | ||
| test_arch_perf_report_fixes.sh | ||
| test_arch_perf_report.sh | ||
| test_arch_sysctl.sh | ||
| test_bt_adapter_reset.sh | ||
| test_bt_adapter.sh | ||
| test_bt_audio_connect.sh | ||
| test_bt_audio_health.sh | ||
| test_bt_audio.sh | ||
| test_bt_pairing_usb.sh | ||
| test_bt_pairing.sh | ||
| test_bt_report.sh | ||
| test_diagnose_pacman_hook_stall_args.sh | ||
| test_diagnose_pacman_hook_stall_timing.sh | ||
| test_pacman_hook_stall_capture.sh | ||
| test_pacman_hook_stall_load.sh | ||
| test_pacman_hook_stall_setup.sh | ||
| test_pacman_hook_stall_summary.sh | ||
| test_pacman_hook_stall_usage.sh | ||
| test_pacman_hook_stall_watch.sh | ||
| test_ubuntu_perf_more.sh | ||
| ubuntu_perf_harness.sh | ||