testsAndMisc/linux_configuration/scripts/single_use/misc/testsAndMisc-bash/lib
Krzysztof kuhy Rudnicki d277369aca
Some checks are pending
Pre-commit checks / pre-commit (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
Cover clean_audio_filters.sh (89.25%), completing testsAndMisc-bash/lib
A 38-assertion suite for the last lib in the directory without one. Every
one of its five libs now has a suite; at the start of the session it had
none. 118 assertions across the directory, 0 failures.

build_filters is asserted on the EXACT filter string it emits, because that
string is the lib's entire product. An arnndn chain missing its mandatory
48 kHz resample, or a preset silently falling through to no dynamics, yields
worse audio and never an error -- nothing else would catch it.

Every exit code is pinned: 1 for a missing command, 11 for "RNNoise required
but unavailable" (refusing to quietly fall back to afftdn), 8 for an ffmpeg
whose afftdn lacks md=.

Measured 83/93 = 89.25%; it stays on the allowlist. All ten uncovered lines
are the documented under-report, not gaps: an `exit 66` sentinel proves
require_cmd's lines 37-38 execute, 52-58 are a multi-line array literal (the
confirmed continuation-line artifact), and 129 is an empty `*) ;;` arm whose
branch has a passing assertion. The gate uses the measured figure, so the
exemption stands regardless.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016sxxsDHWgdRhmdmzNMA6XM
2026-08-22 13:27:44 +02:00
..
tests Cover clean_audio_filters.sh (89.25%), completing testsAndMisc-bash/lib 2026-08-22 13:27:44 +02:00
clean_audio_filters.sh shell: split clean_audio, enforce_vbox_hosts and migrate_hosts_guard 2026-08-17 14:27:57 +02:00
transcribe_deps.sh Split three more scripts; make the verifier catch heredoc cuts 2026-08-16 20:16:08 +02:00
transcribe_pkgmgr.sh Split three more scripts; make the verifier catch heredoc cuts 2026-08-16 20:16:08 +02:00
transcribe_venv.sh Split three more scripts; make the verifier catch heredoc cuts 2026-08-16 20:16:08 +02:00
unity_handler.sh Split seven more linux_configuration scripts 2026-08-16 18:56:05 +02:00