mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-12 18:10:56 +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
|
||
|---|---|---|
| .. | ||
| arch_desktop_harness.sh | ||
| arch_perf_harness.sh | ||
| arch_sysctl_quarantined_cases.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_hardware_boot.sh | ||
| test_arch_hardware.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_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_thorium_repairs_deep.sh | ||
| test_thorium_repairs.sh | ||
| test_ubuntu_perf_more.sh | ||
| thorium_harness.sh | ||
| ubuntu_perf_harness.sh | ||