Files
reims-vgpu/guest
Anees Iqbal 71ea77ffda 🐛 Make payload_test fail when it aborts
payload_test.sh's new fat-bundle case never ran: bundle() read its directory
argument after shifting it away, so set -u stopped the script at the first
bundle. And the stop read as a pass: the script removed its scratch from an
EXIT trap, and bash 3.2, macOS's, exits 0 from a set -u error where an EXIT
trap is set, so make test went on green (measured: the same script exits 1 with
no trap, 0 with one, even one that exits with the status it saw).

bundle() keeps its directory in a local before it shifts, and the scratch is
removed at the end of a run that finishes instead of from a trap; one that
aborts leaves it for the next run, which removes it first.
2026-11-08 21:03:01 -08:00
..