testsAndMisc/linux_configuration/scripts/single_use/fixes/lib/tests
Krzysztof kuhy Rudnicki b399fab56d
Some checks are pending
Pre-commit checks / pre-commit (push) Waiting to run
Python tests / test (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
Take the fixes/lib suite from 110s to 37s, same 645 assertions
Three changes, none of which touch what a single test asserts:

thorium_repairs.sh's `sleep 4` becomes `sleep ${THORIUM_STARTUP_WAIT:-4}`
and the harness sets 0.2s. Three cases were each paying four real
seconds to watch a stubbed browser stay up; the stub sleeps 30s, so the
`kill -0` check is unchanged. That file: 17.0s -> 5.6s.

_t_hide was the rest of it. It walks PATH and creates a symlink per
executable -- ~13.5k here, 4.6s a build -- and the suite has ~16
distinct tool sets. Now the full farm is built ONCE and `cp -al`
hard-links it per set, with only the hidden names deleted from the copy.
The cache also moved out of $TEST_TMPDIR, which is per-file, into a
run-scoped dir run_all.sh creates and removes, so it survives between
files.

110s -> 98s (sleep) -> 85s (shared cache) -> 37s (hard-linked farm).

645 OK, 0 FAIL throughout. The cases that only pass when a tool is
genuinely unfindable -- install_pyroveil's missing-dependency arms,
fix_aggressive without sqlite3 -- still pass, which is what proves the
farm is still hiding rather than quietly returning a full PATH.

lib_test_core.sh hit exactly 250 lines, so _t_hide and the farm move to
lib_test_path.sh (194 + 67).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-23 14:00:13 +02:00
..
arch_desktop_harness.sh Test arch_hardware.sh to 100%, fix its dead journal vacuum (90 -> 89) 2026-08-22 21:46:42 +02:00
arch_perf_harness.sh Test arch_perf_fixes.sh to 93.48% and fix the journal regex a third time 2026-08-22 19:34:12 +02:00
arch_sysctl_quarantined_cases.sh Quarantine the arch_sysctl cases: they broke bt_audio's measurement 2026-08-23 10:15:11 +02:00
bt_harness.sh Test arch_perf_report.sh to 98.33% and fix its dead journal-size check 2026-08-22 18:06:57 +02:00
hosts_guard_harness.sh Clear both hosts-guard libs; teach the instrument done <redirect> (88 -> 86) 2026-08-23 11:50:13 +02:00
lib_test_core.sh Take the fixes/lib suite from 110s to 37s, same 645 assertions 2026-08-23 14:00:13 +02:00
lib_test_path.sh Take the fixes/lib suite from 110s to 37s, same 645 assertions 2026-08-23 14:00:13 +02:00
nvidia_config_harness.sh Test nvidia_config.sh to 100%; the 8-lib campaign is done (85 -> 84) 2026-08-23 13:14:37 +02:00
pacman_hook_stall_entry_harness.sh diagnose_pacman_hook_stall.sh: split 493 -> 249 + 6 libs, 100% coverage 2026-08-18 22:33:57 +02:00
pacman_hook_stall_harness.sh diagnose_pacman_hook_stall.sh: split 493 -> 249 + 6 libs, 100% coverage 2026-08-18 22:33:57 +02:00
run_all.sh Take the fixes/lib suite from 110s to 37s, same 645 assertions 2026-08-23 14:00:13 +02:00
test_arch_cpu.sh Test arch_cpu.sh to 100% and take it off the allowlist (91 -> 90) 2026-08-22 21:14:57 +02:00
test_arch_hardware_boot.sh Test arch_hardware.sh to 100%, fix its dead journal vacuum (90 -> 89) 2026-08-22 21:46:42 +02:00
test_arch_hardware.sh Test arch_hardware.sh to 100%, fix its dead journal vacuum (90 -> 89) 2026-08-22 21:46:42 +02:00
test_arch_perf_fixes.sh Test arch_perf_fixes.sh to 93.48% and fix the journal regex a third time 2026-08-22 19:34:12 +02:00
test_arch_perf_probes_health.sh Test arch_perf_probes.sh to 100%: allowlist 93 -> 92 2026-08-22 19:04:50 +02:00
test_arch_perf_probes.sh Test arch_perf_probes.sh to 100%: allowlist 93 -> 92 2026-08-22 19:04:50 +02:00
test_arch_perf_report_fixes.sh Test arch_perf_report.sh to 98.33% and fix its dead journal-size check 2026-08-22 18:06:57 +02:00
test_arch_perf_report.sh Test arch_perf_report.sh to 98.33% and fix its dead journal-size check 2026-08-22 18:06:57 +02:00
test_bt_adapter_reset.sh Test arch_perf_probes.sh to 100%: allowlist 93 -> 92 2026-08-22 19:04:50 +02:00
test_bt_adapter.sh Test bt_adapter.sh to 98.55%; line 97 is unreachable by construction 2026-08-22 17:10:15 +02:00
test_bt_audio_connect.sh Test bt_audio.sh to 96.97% and fix its wpctl health check 2026-08-22 17:52:24 +02:00
test_bt_audio_health.sh Test bt_audio.sh to 96.97% and fix its wpctl health check 2026-08-22 17:52:24 +02:00
test_bt_audio.sh Test bt_audio.sh to 96.97% and fix its wpctl health check 2026-08-22 17:52:24 +02:00
test_bt_pairing_usb.sh Test arch_perf_probes.sh to 100%: allowlist 93 -> 92 2026-08-22 19:04:50 +02:00
test_bt_pairing.sh Test bt_pairing.sh to 100%: allowlist 97 -> 96 2026-08-22 16:47:40 +02:00
test_bt_report.sh Test bt_report.sh to 100%: allowlist 98 -> 97 2026-08-22 16:33:33 +02:00
test_diagnose_pacman_hook_stall_args.sh diagnose_pacman_hook_stall.sh: split 493 -> 249 + 6 libs, 100% coverage 2026-08-18 22:33:57 +02:00
test_diagnose_pacman_hook_stall_timing.sh diagnose_pacman_hook_stall.sh: split 493 -> 249 + 6 libs, 100% coverage 2026-08-18 22:33:57 +02:00
test_hosts_guard_migrate_flow.sh Clear both hosts-guard libs; teach the instrument done <redirect> (88 -> 86) 2026-08-23 11:50:13 +02:00
test_hosts_guard_migrate.sh Clear both hosts-guard libs; teach the instrument done <redirect> (88 -> 86) 2026-08-23 11:50:13 +02:00
test_hosts_guard_rollback.sh Clear both hosts-guard libs; teach the instrument done <redirect> (88 -> 86) 2026-08-23 11:50:13 +02:00
test_nvidia_config_pyroveil.sh Test nvidia_config.sh to 100%; the 8-lib campaign is done (85 -> 84) 2026-08-23 13:14:37 +02:00
test_nvidia_config.sh Test nvidia_config.sh to 100%; the 8-lib campaign is done (85 -> 84) 2026-08-23 13:14:37 +02:00
test_pacman_hook_stall_capture.sh diagnose_pacman_hook_stall.sh: split 493 -> 249 + 6 libs, 100% coverage 2026-08-18 22:33:57 +02:00
test_pacman_hook_stall_load.sh diagnose_pacman_hook_stall.sh: split 493 -> 249 + 6 libs, 100% coverage 2026-08-18 22:33:57 +02:00
test_pacman_hook_stall_setup.sh diagnose_pacman_hook_stall.sh: split 493 -> 249 + 6 libs, 100% coverage 2026-08-18 22:33:57 +02:00
test_pacman_hook_stall_summary.sh diagnose_pacman_hook_stall.sh: split 493 -> 249 + 6 libs, 100% coverage 2026-08-18 22:33:57 +02:00
test_pacman_hook_stall_usage.sh diagnose_pacman_hook_stall.sh: split 493 -> 249 + 6 libs, 100% coverage 2026-08-18 22:33:57 +02:00
test_pacman_hook_stall_watch.sh diagnose_pacman_hook_stall.sh: split 493 -> 249 + 6 libs, 100% coverage 2026-08-18 22:33:57 +02:00
test_thorium_repairs_deep.sh Test thorium_repairs.sh to 100%, lift the gate timeout (89 -> 88) 2026-08-23 11:05:56 +02:00
test_thorium_repairs.sh Test thorium_repairs.sh to 100%, lift the gate timeout (89 -> 88) 2026-08-23 11:05:56 +02:00
test_ubuntu_perf_fixes_oom.sh Test ubuntu_perf_fixes.sh to 100%, take it off the allowlist (86 -> 85) 2026-08-23 12:38:40 +02:00
test_ubuntu_perf_fixes.sh Test ubuntu_perf_fixes.sh to 100%, take it off the allowlist (86 -> 85) 2026-08-23 12:38:40 +02:00
test_ubuntu_perf_more.sh Test ubuntu_perf_more.sh to 100%: allowlist 93 -> 92 2026-08-22 19:25:21 +02:00
thorium_harness.sh Take the fixes/lib suite from 110s to 37s, same 645 assertions 2026-08-23 14:00:13 +02:00
ubuntu_perf_harness.sh Test ubuntu_perf_fixes.sh to 100%, take it off the allowlist (86 -> 85) 2026-08-23 12:38:40 +02:00