[bench] Conformance, first run (WSL2 Ubuntu, release): h2spec Ianitor 144/145 passed, 0 failed, Caddy 2.11.7 140 passed, 4 failed; testssl.sh A+ for both; the failure list reads only h2spec's Failures section

This commit is contained in:
2026-11-18 18:06:05 +01:00
parent 737da4a3b1
commit 1d4b567d96
10 changed files with 3195 additions and 1 deletions
+2 -1
View File
@@ -51,7 +51,8 @@ for engine in ianitor caddy; do
summary=$(grep -Eo '[0-9]+ tests, [0-9]+ passed, [0-9]+ skipped, [0-9]+ failed' "$out/$engine-h2spec.txt" | tail -1)
printf '%-10s %-8s %s\n' "$engine" h2spec "${summary:-no summary (see $out/$engine-h2spec.txt)}"
# The failed cases, by id, for the comparison below.
grep -E '^\s+×' -B0 "$out/$engine-h2spec.txt" | sed -E 's/^\s+× //' | sort >"$out/$engine-h2spec-failed.txt" || true
# (only the "Failures:" section: h2spec redraws progress lines with carriage returns above it)
sed -n '/^Failures:/,$p' "$out/$engine-h2spec.txt" | grep '×' | sed -E 's/^[[:space:]]*× //' | sort >"$out/$engine-h2spec-failed.txt" || true
"$testssl" --quiet --color 0 --warnings off --ip 127.0.0.1 --add-ca "$(jq -r .ca "$info")" \
--jsonfile "$out/$engine-testssl.json" --overwrite "https://localhost:$p" \