#!/usr/bin/env bash # Self-check for orchestra_e2e_healthcheck.sh. # # The pinned USAGE string is gone. Pinning the help text byte for byte meant # every flag added to the healthcheck turned this file red for a reason that # had nothing to do with the flag. The usage assertions now check shape: --help # must print a Usage: line, must document every long flag the script actually # parses, and must exit 0 from any argument position. HC="$(dirname "$0")/orchestra_e2e_healthcheck.sh" OK='OK - all healthchecks passed' fails=0 fail() { printf 'FAIL: %s\n' "$1" fails=$((fails + 1)) } exact() { # exact