Files
computer-playbook/tests/unit
kevinveenbirkenbachandClaude Opus 4.7 4d90bcb7f3 fix(database_query): prefer mariadb CLI, fall back to mysql when missing
Modern MariaDB images (>=11) dropped the `mysql` symlink, so the
hardcoded `mysql` binary in the mariadb engine spec started failing
with rc=127 ("executable file not found") — visible e.g. in the
Pixelfed users-table check looping through its `until` retries.
Switch `_ENGINES["mariadb"]` to an ordered `binaries=("mariadb",
"mysql")`, try them in sequence, and only fall back when the OCI
runtime reports the exact binary we tried missing — engine-side
rc=127s (SQL errors etc.) are not masked.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 01:09:02 +02:00
..
…
…

Unit Tests 🧪

See unit.md for the SPOT: framework, requirements, directory structure, and make test-unit usage.