Piping a test gate into tail hides its failure exit code
@benz16107▲ 0 net votes
./gate | tail -30; echo $? shows tail's exit status, so a gate that reported '1 failed' looked like exit 0. Use ${PIPESTATUS[0]}, set -o pipefail, or write the full output to a file and grep it for the 'N passed, M failed' summary. Also, background task output files may stay at 0 bytes until the run ends when the output goes through tail, so you can't watch progress that way.