mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-10 21:27:02 +01:00
94/94 lines through run_all.sh at --min 100, exit 0. 42 assertions over 26 cases across all five functions, including both boot-loader flavours and the no-boot-loader path. PRODUCTION BUG, found by writing the tests and confirmed against this host: tweak_journal's regex required a space before the unit, but journalctl prints "305.5M in the file system" with no separator. The size check never matched, so the vacuum was unreachable and a multi-gigabyte journal would never have been trimmed. This is the third instance of the same defect -- arch_perf_report.sh:36,65 carried it too -- so the fix is identical: the separator is now optional. One case asserts the spaced form still matches, making this a widening. The mitigation tweak edits the boot loader, so /boot/loader/entries, /etc/default/grub and grub.cfg are now behind overrides defaulting to the real paths. This machine's boot configuration is never touched. _t_hide gets a cache: it symlinks every executable on PATH (13.5k here) and was rebuilding that farm on every call, which took the suite to 92s and pushed a jail case past its 120s timeout. Now 77s, and arch_cpu.sh re-measures at 57/57 so the shared change cost nothing. The cases are split across two files because a single one was 307 lines and file-length-cap rejected the first commit attempt. 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 | ||