From bbc91618f802ab25f8a7811a42e388841c35dcc3 Mon Sep 17 00:00:00 2001 From: BFE Engineering Date: Sat, 31 Oct 2026 18:11:34 -0600 Subject: [PATCH] qemu: agent-test.sh passes shellcheck (SC2016 on the guest-side script) The qemu-tools job (run 10385) failed shellcheck on the single-quoted script the test hands the agent: its expansions belong to the agent's shell, so the info finding is disabled on that line. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01BdKQBQkJkq4zE7iPFMkAhS --- qemu/tests/agent-test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu/tests/agent-test.sh b/qemu/tests/agent-test.sh index d66ee9a..db9d8ec 100755 --- a/qemu/tests/agent-test.sh +++ b/qemu/tests/agent-test.sh @@ -60,6 +60,7 @@ check "stdout and stderr come back in base64" \ # Chunks: the script text arrives in pieces, then @run with no B64 of its own # and once more with a last piece on the run line. +# shellcheck disable=SC2016 # the guest's shell expands it, not this one script='i=0; while [ $i -lt 3 ]; do echo line$i; i=$((i + 1)); done' whole="$(b64 "$script")" agent chunks "@chunk c1 ${whole:0:20}" "@chunk c1 ${whole:20}" "@run c1 10" \