#!/usr/bin/env bash # Regenerates every file under output/. # # ./scripts/run-all.sh # # Needs a JDK 25, Maven 3.9 and a running Docker daemon (the tests start hashicorp/vault and # motoserver/moto containers through Testcontainers). Transcripts 01-09 come out of the test suite, # so each line in them is something the build checked; 10 is a real jar and /proc. set -euo pipefail cd "$(dirname "$0")/.." mkdir -p output echo "== test suite (transcripts 01-09)" mvn -B test | tee /tmp/secrets-mvn.log | grep -E '^\[(INFO|WARNING|ERROR)\] Tests run:' | sed 's/^\[[A-Z]*\] //' > output/00-test-summary.txt echo "== packaged jar and /proc (transcript 10)" ./scripts/exposure.sh >/dev/null echo echo "output:" ls -1 output