From b924df163284a72c54d5747f2b8f6b02355187ea Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 7 May 2026 03:07:56 +0000 Subject: [PATCH] =?UTF-8?q?fix(quic-interop):=20inspect=20script=20?= =?UTF-8?q?=E2=80=94=20runner=20layout=20is=20/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quic/interop/inspect-multiplexing.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/quic/interop/inspect-multiplexing.sh b/quic/interop/inspect-multiplexing.sh index 354fb5fa5..d31ced7b3 100755 --- a/quic/interop/inspect-multiplexing.sh +++ b/quic/interop/inspect-multiplexing.sh @@ -20,10 +20,10 @@ if [[ -z "$RUN_DIR" ]]; then fi echo "==> run dir: $RUN_DIR" -# Multiplexing case dir (server/client pair). Glob the only one matching. -CASE_DIR="$(ls -1d "$RUN_DIR"/multiplexing/*amethyst* 2>/dev/null | head -n 1 || true)" +# Layout: /_//{client,server,sim}/ +CASE_DIR="$(ls -1d "$RUN_DIR"/*amethyst*/multiplexing 2>/dev/null | head -n 1 || true)" if [[ -z "$CASE_DIR" ]]; then - echo "no multiplexing/*amethyst* dir; tree under run:" >&2 + echo "no /multiplexing dir; tree under run:" >&2 find "$RUN_DIR" -maxdepth 3 -type d >&2 exit 1 fi @@ -53,6 +53,7 @@ echo echo "=============== /downloads contents ===============" DL_DIR="$CASE_DIR/download" [[ -d "$DL_DIR" ]] || DL_DIR="$CASE_DIR/client/downloads" +[[ -d "$DL_DIR" ]] || DL_DIR="$CASE_DIR/downloads" if [[ -d "$DL_DIR" ]]; then DOWNLOADED="$(find "$DL_DIR" -type f | wc -l | tr -d ' ')" echo "files downloaded: $DOWNLOADED"