mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-12 16:10:57 +01:00
75/75 lines through run_all.sh at --min 100, exit 0, and
check_shell_coverage.sh passes with the allowlist line already deleted
so the pass cannot come from the exemption.
55 assertions over 23 cases: all five profile repairs plus test_thorium,
including every dry-run arm, the partial singleton-lock case, a corrupt
database and the sqlite3-absent path. The lib needed NO production
change -- it already takes every path from $THORIUM_CONFIG_DIR, so
pointing that one variable at the tmpdir confines it completely.
The gate's per-case timeout moves from the jail's 120s default to 600s.
That default is a hang-catcher, not a performance budget, and this suite
has outgrown it: 76s bare at 25 test files, 93s at 27, and kcov roughly
doubles it. The symptom was a lib FAILING the gate while measuring
perfectly -- bt_audio.sh printed "127/127 lines = 100.00%" and then
"warn: case timed out after 120s", which --fail-on-case-error turned
into a non-zero exit. bt_audio.sh and arch_cpu.sh both pass now.
The cost, recorded in the evidence: a genuine hang takes 10 minutes per
pass to surface instead of 2. test_thorium's `read -r -p` is exactly
that shape, so every case here feeds it stdin explicitly.
This also settles the quarantine in
|
||
|---|---|---|
| .. | ||
| 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 | ||