#!/bin/bash # Row 84 gate: business node suite, then every scripts/test-*.sh, sequentially, full output kept. W=/mnt/storage/scratch/rocko-r84 O=/mnt/storage/scratch/rocko-r84-out/gate mkdir -p "$O" cd "$W" || exit 1 node --test 'packages/business/tests/*.test.mjs' > "$O/node-business.txt" 2>&1; echo "node-business exit $?" | tee -a "$O/summary.txt" grep -E '^ℹ (pass|fail)' "$O/node-business.txt" | tee -a "$O/summary.txt" for s in scripts/test-*.sh; do n=$(basename "$s" .sh) bash "$s" > "$O/$n.txt" 2>&1; echo "$n exit $?" | tee -a "$O/summary.txt" tail -3 "$O/$n.txt" | sed "s/^/ $n: /" | tee -a "$O/summary.txt" done grep -l -E '✖|^not ok' "$O"/*.txt | sed 's/^/failure markers in: /' | tee -a "$O/summary.txt"