testsAndMisc/linux_configuration/scripts/single_use/misc/testsAndMisc-bash/lib/tests
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
..
run_all.sh Give testsAndMisc-bash/lib a harness; cover transcribe_deps and _pkgmgr 2026-08-22 13:14:02 +02:00
test_clean_audio_filters.sh Cover clean_audio_filters.sh (89.25%), completing testsAndMisc-bash/lib 2026-08-22 13:27:44 +02:00
test_transcribe_deps.sh Clear unity_handler.sh: 100%, off the allowlist, 105 -> 104 2026-08-22 13:20:54 +02:00
test_transcribe_pkgmgr.sh Clear unity_handler.sh: 100%, off the allowlist, 105 -> 104 2026-08-22 13:20:54 +02:00
test_transcribe_venv.sh Clear transcribe_venv.sh: 100%, off the allowlist, 104 -> 103 2026-08-22 13:24:28 +02:00
test_unity_handler.sh Clear unity_handler.sh: 100%, off the allowlist, 105 -> 104 2026-08-22 13:20:54 +02:00
transcribe_harness.sh Cover clean_audio_filters.sh (89.25%), completing testsAndMisc-bash/lib 2026-08-22 13:27:44 +02:00