mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-10-29 16:17:25 +09:00
bash suppresses set -e inside any tested-context command list — an if-condition subshell, or the left side of ||, even with set -Eeuo pipefail re-armed inside — so multi-statement test bodies only gated on their LAST statement. Today's cmp-less EL9 CI run proved it: a byte-identity test passed while its cmp assertions exited 127. 28 blocks across test_update/test_install/test_lib/test_agent_install converted to explicit && chains so every assertion gates the result. No test weakened; no vacuous pass was hiding a real script bug (each newly-gated statement was verified to genuinely succeed). Verified: Git Bash 171 passed / 0 failed; rockylinux:9 all five suites 177p/0f; opensuse/leap:15.5 148p/0f (pre-existing python3/tar skips). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>