fix(shared-httpd): exec-surface gate pipefail scan (CI 6352) + probe test accepts guard 403

- httpd-exec-surface-gate.sh:131: printf|grep -q under pipefail replaced by a
  here-string grep; same match, no second exit status for pipefail to prefer.
- httpd-exec-surface-probes.test.sh: the ajp/ftp/scgi/uwsgi [P] probes now accept
  the proxy guard's 403 (secure, refused before handler lookup) as well as the
  AH01144 log line; any other outcome (502/503/200) still fails.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6
This commit is contained in:
shadowdaoandClaude Sonnet 5.5 committed 2026-11-24 10:50:35 -08:00
1 parent 15cd30fa3b
commit 0e2a066968
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ cmd_check() {
fi
# Positive control: nothing the platform uses may have disappeared with them.
for m in $REQUIRED_MODULES; do
if ! printf '%s\n' "$mods" | grep -qE "^ ${m} "; then
if ! grep -qE "^ ${m} " <<<"$mods"; then
echo "gate FAIL: required module ${m} is NOT loaded" >&2; fail=1
fi
done