voyage/tests/fix-round-4-5b2-b-regression.sh
2026-11-03 12:27:24 +01:00

42 lines
1.4 KiB
Bash

#!/usr/bin/env bash
# tests/fix-round-4-5b2-b-regression.sh
# The regression run of fix round 4.5b2, part B (plan
# .claude/projects/2026-10-31-review-gate-4-5b2/plan.md, Step 13): the 4-5b
# red proof (tests/fix-round-4-5b-red.sh, decision 128: this round updated
# one assertion of the protected 4-5b prose test), then the end to end of
# 4.5a (tests/e2e-fix-round-4-5a.sh), of 4.5b part 4
# (tests/e2e-fix-round-4-5b-part-4.sh) and of 4.5b2 part A
# (tests/e2e-fix-round-4-5b2-a.sh). The round's own red proof and end to end
# run as their own Verification lines; the criteria runner caps one command
# at 900 s.
# All four run, in that order; the script prints each exit and exits with the
# first non-zero status, or 0 when all four exit 0.
# bash 3.2 compatible, ASCII only, no arrays.
set -u
cd "$(dirname "$0")/.." || { echo "regression: cannot cd to the repo root" >&2; exit 2; }
FIRST=0
/bin/bash tests/fix-round-4-5b-red.sh
rc=$?
echo "regression: tests/fix-round-4-5b-red.sh exited $rc"
[ "$FIRST" -eq 0 ] && FIRST=$rc
/bin/bash tests/e2e-fix-round-4-5a.sh
rc=$?
echo "regression: tests/e2e-fix-round-4-5a.sh exited $rc"
[ "$FIRST" -eq 0 ] && FIRST=$rc
/bin/bash tests/e2e-fix-round-4-5b-part-4.sh
rc=$?
echo "regression: tests/e2e-fix-round-4-5b-part-4.sh exited $rc"
[ "$FIRST" -eq 0 ] && FIRST=$rc
/bin/bash tests/e2e-fix-round-4-5b2-a.sh
rc=$?
echo "regression: tests/e2e-fix-round-4-5b2-a.sh exited $rc"
[ "$FIRST" -eq 0 ] && FIRST=$rc
exit "$FIRST"