darkwing: row 100 round 1 packet, git socket hardening and refusal tests on 8e0fbca4 (#1594)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-13 11:55:33 -05:00
co-authored by Claude Opus 5.5
parent a50c9d23ae
commit ac430b5cfb
7 changed files with 1276 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
# Row 100 gate: every package's own test script, from its directory, then
# every scripts/test-*.sh, sequential, full output kept.
cd ~/darkwing-scratch/r100/wt || exit 2
W=$PWD
export TMPDIR=~/darkwing-scratch/r100/tmp
O=${GATE_OUT:-~/darkwing-scratch/r100/gate}
mkdir -p "$TMPDIR" "$O"
for d in packages/*/; do
p=$(basename "$d")
t=$(node -e 'const s=require(process.argv[1]).scripts?.test; if (s) console.log(s)' "$W/$d/package.json")
[ -n "$t" ] || { echo "$p: no test script"; continue; }
s=$(date -u +%T)
(cd "$W/$d" && bash -c "$t") > $O/node-$p.txt 2>&1; rc=$?
echo "$p rc=$rc $s-$(date -u +%T) $(grep -E '^ℹ (pass|fail|skipped)' $O/node-$p.txt | tr '\n' ' ') $(grep -cE '^✖|^not ok' $O/node-$p.txt) marks"
done
for f in scripts/test-*.sh; do
n=$(basename $f .sh); s=$(date -u +%T)
if [ $n = test-task ]; then DOCKER_HOST=unix:///nonexistent bash $f > $O/$n.txt 2>&1; else bash $f > $O/$n.txt 2>&1; fi; rc=$?
echo "$n rc=$rc $s-$(date -u +%T) $(tail -1 $O/$n.txt | cut -c1-120)"
done