mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-12 19:30:55 +01:00
Seventh of the 16 untested fixes/lib libs and the first of the ubuntu-perf pair, which gets its own harness here. 24 assertions; 32/32 = 100.00% through run_all.sh on the first measurement, confirmed at --min 100 (exit 0), then cleared with the real gate and no exemption. Two absolute paths had to move behind env overrides, defaulting to the real ones: fix_journal writes /etc/systemd/journald.conf.d/size-limit.conf and run_undo globs /root for undo scripts. Binding those in the jail was rejected for the same reason as bt_pairing.sh's udev rule -- run_all.sh runs UN-jailed in ci_mirror.sh and in CI, so a bind mount protects the coverage run and nothing else. JOURNALD_CONF_DIR and UNDO_DIR follow the UDEV_RULES_DIR precedent. Proof the suite is safe where it runs un-jailed: after a bare run_all.sh the real /etc/systemd/journald.conf.d/size-limit.conf still carries its 2026-03-02 mtime, a genuine artifact of a past production run, and no undo_ubuntu_performance_*.sh exists in /root. Worth noting for the rest of the family: run_undo ends in `exit`, so its cases run inside an explicit subshell. A command substitution already provides one, so the exit ends only that subshell rather than the whole test file. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 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_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_ubuntu_perf_more.sh | ||
| ubuntu_perf_harness.sh | ||