From 7e53673d301e31104eb36816b82ea55404a24fbc Mon Sep 17 00:00:00 2001 From: PerryLink Date: Sat, 17 Oct 2026 17:01:33 +0800 Subject: [PATCH] fix(scripts): make --result_dir absolute in server-conformance.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A relative --result_dir — the form CONTRIBUTING.md documents — was passed to --output-dir from inside the same directory, so every result landed in //. The run still exited 0, which is why it went unnoticed. client-conformance.sh already received this fix in #1366; take the same two lines here. --- scripts/server-conformance.sh | 2 ++ 1 file changed, 2 insertions(+) mode change 100755 => 100644 scripts/server-conformance.sh diff --git a/scripts/server-conformance.sh b/scripts/server-conformance.sh old mode 100755 new mode 100644 index e8fe6e188..488ced8e4 --- a/scripts/server-conformance.sh +++ b/scripts/server-conformance.sh @@ -61,6 +61,8 @@ trap cleanup EXIT # Set up the work directory. if [ -n "$RESULT_DIR" ]; then mkdir -p "$RESULT_DIR" + # Make the path absolute: the tests run from inside it (see below). + RESULT_DIR=$(cd "$RESULT_DIR" && pwd) WORKDIR="$RESULT_DIR" else WORKDIR=$(mktemp -d)